Prashanth M N
Prashanth M N

Reputation: 29

java.util.TimeZone DST Questions

Whats the difference between java.util.TimeZone.inDaylightTime and java.util.TimeZone.useDaylightTime in java ?

Upvotes: 0

Views: 156

Answers (1)

Rohan Kapoor
Rohan Kapoor

Reputation: 55

inDaylightTime checks if the specific timezone is in daylight time at the time specified as a parameter while useDaylightTime checks if the timezone ever has daylight time.

Source: http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html

Upvotes: 1

Related Questions