UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

18 lines • 561 B
import { Vars } from "./vars"; import type { MomentInput } from "moment"; export declare class DateTime { #private; private vars; static mySQLFormat: string; constructor(vars: Vars, initialDate?: MomentInput); get currentLocalTime(): number; get currentDate(): Date; private get time(); format(v: string): string; gmtFormat(v: string): void; get mySQLDatetime(): string; get mySQLGMTDatetime(): string; greaterThan(gmtDate: MomentInput): boolean; isFuture(): boolean; } //# sourceMappingURL=date-time.d.ts.map