module timelinelib.calendar.gregorian.time

timelinelib.calendar.gregorian.time.SECONDS_IN_DAY = 86400
class timelinelib.calendar.gregorian.time.GregorianTime[source]

Bases: timelinelib.calendar.time.GenericTimeMixin

MIN_JULIAN_DAY = 0
property DeltaClass
classmethod min()[source]
classmethod set_min_julian_day(allow_negative_julian_yeras)[source]
__init__(julian_day, seconds)[source]

Initialize self. See help(type(self)) for accurate signature.

__eq__(time)[source]

Return self==value.

__ne__(time)[source]

Return self!=value.

__gt__(dt)[source]

Return self>value.

__ge__(dt)[source]

Return self>=value.

__lt__(dt)[source]

Return self<value.

__repr__()[source]

Return repr(self).

to_str()[source]
get_time_of_day()[source]
property day_of_week
property is_weekend_day
class timelinelib.calendar.gregorian.time.GregorianDelta[source]

Bases: timelinelib.calendar.time.ComparableValue, timelinelib.calendar.time.GenericDeltaMixin

classmethod from_seconds(seconds)[source]
classmethod from_days(days)[source]
property seconds
get_days()[source]
get_hours()[source]
get_minutes()[source]
__repr__()[source]

Return repr(self).