Archived
1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
api-ts-gen/dist/utils/FullDate.d.ts
supmiku39 26d531c26e implement FullDate#distanceFrom(d0)
fix FullDate timezone bug, use UTC instead
2020-04-09 19:45:32 +09:00

17 lines
436 B
TypeScript

export declare class FullDate {
private _date;
constructor(...argv: any);
toString(): string;
toJSON(): string;
valueOf(): number;
get date(): Date;
get year(): number;
get month(): number;
get day(): number;
get dayOfWeek(): number;
set year(val: number);
set month(val: number);
set day(val: number);
advance(period: number): FullDate;
distanceFrom(d0: FullDate): number;
}