Package gen :: Package lib :: Module calendar
[frames] | no frames]

Module calendar

source code

Provide calendar to sdn (serial date number) conversion.

Functions
 
hebrew_sdn(year, month, day)
Convert a Jewish calendar date to an SDN number.
source code
 
hebrew_ymd(sdn)
Convert an SDN number to a Julian calendar date.
source code
 
julian_sdn(year, month, day)
Convert a Julian calendar date to an SDN number.
source code
 
julian_ymd(sdn)
Convert an SDN number to a Julian date.
source code
 
gregorian_sdn(year, month, day)
Convert a gregorian date to an SDN number.
source code
 
gregorian_ymd(sdn)
Convert an SDN number to a gregorian date.
source code
 
french_sdn(year, month, day)
Convert a French Republican Calendar date to an SDN number.
source code
 
french_ymd(sdn)
Convert an SDN number to a French Republican Calendar date.
source code
 
persian_sdn(year, month, day)
Convert a Persian date to an SDN number.
source code
 
persian_ymd(sdn)
Convert an SDN number to a Persian calendar date.
source code
 
islamic_sdn(year, month, day)
Convert an Islamic date to an SDN number.
source code
 
islamic_ymd(sdn)
Convert an SDN number to an Islamic calendar date.
source code

Imports: math