A wall-clock time is what a clock shows in a given timezone: the local civil time at some point in
time. It is stored as a Duration since 1970-01-01T00:00:00 in local time, equivalent to a
PlainDateTime packed into a single offset, which makes arithmetic straightforward.
Every timezone induces a correspondence between Timestamp and WallTime: interpreting a
Timestamp in a timezone yields the WallTime (what a clock in that timezone reads at that
instant), and resolving a WallTime in a timezone yields the Timestamp (the absolute instant the
clock reading refers to).
- val : Duration
Duration since
1970-01-01T00:00:00in local (civil) time.
Instances For
Instances For
Creates a WallTime from a Duration. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Creates a WallTime from a Second.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Creates a WallTime from a Nanosecond.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Second.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Nanosecond.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Minute.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Day.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Creates a WallTime from a Millisecond.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Millisecond.Offset. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.
Instances For
Converts a WallTime to a Duration. The epoch is 1970-01-01 00:00:00 in local
(civil) time, not UTC.