Time is an abstraction of dates and times.
This module implements the
Time class from Ruby Core.
In Artichoke, Time is represented as a 64-bit signed integer of seconds since January 1, 1970 UTC (the Unix Epoch) and an unsigned 32-bit integer of subsecond nanoseconds. This allows representing roughly 584 billion years.
You can use this class in your application by accessing it directly. As a Core class, it is globally available:
This implementation of
Time supports the system clock via the
This crate requires
std, the Rust Standard Library.
Serialized representation of a timestamp using a ten-element array of datetime components.
Timestamp offsets from UTC.
Number of microseconds in one nanosecond.
Number of nanoseconds in one second.