@luke-zhang-04/dateplus
Version:
A simple program to assist with date manipulation
62 lines (61 loc) • 1.13 kB
TypeScript
/**
* DatePlus A simple program to assist with date manipulation
*
* @license MIT
* @version 4.0.0-beta2
* @author Luke Zhang luke-zhang-04.github.io
* @copyright Copyright (C) 2020 - 2021 Luke Zhang
*/
export declare const enum Values {
HrsPerDay = 24,
MinsPerHr = 60,
SecsPerMin = 60,
MsPerSec = 1000
}
export declare const values: {
hrsPerDay: number;
minsPerHr: number;
secsPerMin: number;
msPerSec: number;
};
/**
* Reference to days of the week, zero indexed
*/
export declare const daysReference: {
0: string;
1: string;
2: string;
3: string;
4: string;
5: string;
6: string;
};
/**
* Reference to months of a year, zero indexed
*/
export declare const monthsReference: {
0: string;
1: string;
2: string;
3: string;
4: string;
5: string;
6: string;
7: string;
8: string;
9: string;
10: string;
11: string;
};
/**
* One minutes in ms
*/
export declare const oneMinute: number;
/**
* One hour in ms
*/
export declare const oneHour: number;
/**
* One day in ms
*/
export declare const oneDay: number;