Reputation: 29
Whats the difference between java.util.TimeZone.inDaylightTime
and java.util.TimeZone.useDaylightTime
in java ?
Upvotes: 0
Views: 156
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