improve LeapSecondInfo docs a bit more
This commit is contained in:
parent
82e164ce85
commit
0ad03844d7
1 changed files with 5 additions and 1 deletions
|
|
@ -38,8 +38,12 @@ NTP_EPOCH = datetime.datetime(1900, 1, 1, tzinfo=datetime.timezone.utc)
|
|||
|
||||
@dataclass(frozen=True)
|
||||
class LeapSecondInfo:
|
||||
"""Information about a particular leap second"""
|
||||
|
||||
start: datetime.datetime
|
||||
"""The UTC timestamp just after the insertion of the leap second."""
|
||||
"""The UTC timestamp just after the insertion of the leap second.
|
||||
|
||||
The leap second is actually the 61th second of the previous minute (xx:xx:60)"""
|
||||
|
||||
tai_offset: datetime.timedelta
|
||||
"""The new TAI-UTC offset. Positive numbers indicate that TAI is ahead of UTC"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue