Flowdock
isdst() public

Returns true if time occurs during Daylight Saving Time in its time zone.

Time.local(2000, 7, 1).isdst   #=> true
Time.local(2000, 1, 1).isdst   #=> false
Time.local(2000, 7, 1).dst?    #=> true
Time.local(2000, 1, 1).dst?    #=> false
Show source
Register or log in to add new notes.