ts-py-datetime
Version:
Datetime handling the python way (or as close as possible), now with TypeScript
11 lines (10 loc) • 433 B
TypeScript
/**
* The smallest year number allowed in date and datetime objects, equal to 100.
*/
export declare const MINYEAR = 100;
/** The largest year number allowed in date and datetime objects, equal to 9999. */
export declare const MAXYEAR = 9999;
/** MINYEAR translated to it's ordinal day. */
export declare const MINYEAR_ORDINAL = 36160;
/** MAXYEAR translated to it's ordinal day. */
export declare const MAXYEAR_ORDINAL = 3652059;