| ... | @@ -734,7 +734,7 @@ pub const Clock = enum { | ... | @@ -734,7 +734,7 @@ pub const Clock = enum { |
| 734 | /// A settable system-wide clock that measures real (i.e. wall-clock) | 734 | /// A settable system-wide clock that measures real (i.e. wall-clock) |
| 735 | /// time. This clock is affected by discontinuous jumps in the system | 735 | /// time. This clock is affected by discontinuous jumps in the system |
| 736 | /// time (e.g., if the system administrator manually changes the | 736 | /// time (e.g., if the system administrator manually changes the |
| 737 | /// clock), and by frequency adjust‐ ments performed by NTP and similar | 737 | /// clock), and by frequency adjustments performed by NTP and similar |
| 738 | /// applications. | 738 | /// applications. |
| 739 | /// | 739 | /// |
| 740 | /// This clock normally counts the number of seconds since 1970-01-01 | 740 | /// This clock normally counts the number of seconds since 1970-01-01 |
| ... | @@ -742,8 +742,11 @@ pub const Clock = enum { | ... | @@ -742,8 +742,11 @@ pub const Clock = enum { |
| 742 | /// leap seconds; near a leap second it is typically adjusted by NTP to | 742 | /// leap seconds; near a leap second it is typically adjusted by NTP to |
| 743 | /// stay roughly in sync with UTC. | 743 | /// stay roughly in sync with UTC. |
| 744 | /// | 744 | /// |
| 745 | /// The epoch is implementation-defined. For example NTFS/Windows uses | 745 | /// Timestamps returned by implementations of this clock represent time |
| 746 | /// 1601-01-01. | 746 | /// elapsed since 1970-01-01T00:00:00Z, the POSIX/Unix epoch, ignoring |
| | 747 | /// leap seconds. This is colloquially known as "Unix time". If the |
| | 748 | /// underlying OS uses a different epoch for native timestamps (e.g., |
| | 749 | /// Windows, which uses 1601-01-01) they are translated accordingly. |
| 747 | real, | 750 | real, |
| 748 | /// A nonsettable system-wide clock that represents time since some | 751 | /// A nonsettable system-wide clock that represents time since some |
| 749 | /// unspecified point in the past. | 752 | /// unspecified point in the past. |