module timelinelib.calendar.bosparanian.bosparanian

class timelinelib.calendar.bosparanian.bosparanian.BosparanianDateTime[source]

Bases: object

__init__(year, month, day, hour, minute, second)[source]

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

__eq__(other)[source]

Return self==value.

__ne__(other)[source]

Return self!=value.

classmethod from_time(time)[source]
classmethod from_ymd(year, month, day)[source]
property week_number

returns number of week in year

days_in_month()[source]
to_time()[source]
replace(year=None, month=None)[source]
to_tuple()[source]
to_date_tuple()[source]
to_time_tuple()[source]
is_first_day_in_year()[source]
is_first_of_month()[source]
__repr__()[source]

Return repr(self).

timelinelib.calendar.bosparanian.bosparanian.ymd_to_bosparanian_day(year, month, day)[source]

Converts a bosparanian date given as year, month, and day, to a day number counted from 1st PRA 0 BF

timelinelib.calendar.bosparanian.bosparanian.bosparanian_day_to_ymd(bosparanian_day)[source]

Converts a day number, counted from 1st PRA, 0 BF to standard bosparanian calendar date

timelinelib.calendar.bosparanian.bosparanian.is_valid(month, day)[source]
timelinelib.calendar.bosparanian.bosparanian.is_valid_time(hour, minute, second)[source]
timelinelib.calendar.bosparanian.bosparanian.days_in_month(month)[source]