other.doomsday ============== .. py:module:: other.doomsday Attributes ---------- .. autoapisummary:: other.doomsday.DOOMSDAY_LEAP other.doomsday.DOOMSDAY_NOT_LEAP other.doomsday.WEEK_DAY_NAMES Functions --------- .. autoapisummary:: other.doomsday.get_week_day Module Contents --------------- .. py:function:: get_week_day(year: int, month: int, day: int) -> str Returns the week-day name out of a given date. >>> get_week_day(2020, 10, 24) 'Saturday' >>> get_week_day(2017, 10, 24) 'Tuesday' >>> get_week_day(2019, 5, 3) 'Friday' >>> get_week_day(1970, 9, 16) 'Wednesday' >>> get_week_day(1870, 8, 13) 'Saturday' >>> get_week_day(2040, 3, 14) 'Wednesday' .. py:data:: DOOMSDAY_LEAP :value: [4, 1, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5] .. py:data:: DOOMSDAY_NOT_LEAP :value: [3, 7, 7, 4, 2, 6, 4, 1, 5, 3, 7, 5] .. py:data:: WEEK_DAY_NAMES