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 65482a6890 publish to npmjs; specify FullDate constructor type
change the package name in generated code
2020-04-10 21:17:34 +09:00

22 lines
597 B
TypeScript

export declare class FullDate {
private _date;
constructor();
constructor(copyFrom: FullDate);
constructor(date: Date);
constructor(s: string);
constructor(n: number);
constructor(y: number, m: number, d?: number);
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;
}