Class | EtOrbi::EoTime |
In: |
lib/et-orbi/eo_time.rb
|
Parent: | Object |
Our EoTime class (which quacks like a ::Time).
An EoTime instance should respond to most of the methods ::Time instances respond to. If a method is missing, feel free to open an issue to ask (politely) for it. If it makes sense, it‘ll get added, else a workaround will get suggested. The immediate workaround is to call to_t on the EoTime instance to get equivalent ::Time instance in the local, current, timezone.
WEEK_S | = | 7 * 24 * 3600 |
seconds | [R] | instance methods |
zone | [R] |
Returns true if this EoTime instance corresponds to 2 different UTC times. It happens when transitioning from DST to winter time.
Returns this ::EtOrbi::EoTime as a ::Time instance in the current timezone.
Has a to_t alias.