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

24 lines
633 B
TypeScript
Raw Normal View History

export declare class FullDate {
2020-04-06 01:09:37 +09:00
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;
2020-04-06 01:09:37 +09:00
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): this;
advanced(period: number): FullDate;
distanceFrom(d0: FullDate): number;
}