SimpleDateFormat pitfalls « The Java Explorer
Every instance of SimpleDateFormat has an associated time zone to work with, as a TimeZone instance. Otherwise, a parsing operation would not be able to determine an absolute point in time (Date object), from a given string denoting a date. If not specified otherwise, the time zone associated with a new SimpleDateFormat is the default one, corresponding to the time zone reported by the operating system.
Read full article from SimpleDateFormat pitfalls « The Java Explorer
No comments:
Post a Comment