import { CalendarDate } from './calendar'; import { TimePeriod } from './interval'; import { CalendarDateFields, CalendarType } from './types'; /** * Construct a date using the rules of the Gregorian calendar. * * type: gregory * * @public */ export declare class GregorianDate extends CalendarDate { static _init: void; protected constructor(type: CalendarType, firstDay: number, minDays: number); /** * Set fields * * @public */ set(fields: Partial): GregorianDate; /** * Add the fields to this date. * * @public */ add(fields: Partial): GregorianDate; /** * Subtract the fields from this date. * * @public */ subtract(fields: Partial): GregorianDate; /** * Change the timezone, returning a new date. * * @public */ withZone(zoneId: string): GregorianDate; /** * String representation of the date and time. * * @public */ toString(): string; /** * Construct a new date from the given fields. * * @public */ static fromFields(fields: Partial, firstDay?: number, minDays?: number): GregorianDate; /** * Construct a new date from the given UNIX epoch. * * @public */ static fromUnixEpoch(epoch: number, zoneId: string, firstDay?: number, minDays?: number): GregorianDate; protected _new(): GregorianDate; protected initFromUnixEpoch(epoch: number, zoneId: string): GregorianDate; protected initFromJD(jd: number, msDay: number, zoneId: string): GregorianDate; protected daysInMonth(y: number, m: number): number; protected daysInYear(y: number): number; protected monthCount(): number; protected monthStart(eyear: number, month: number, _useMonth: boolean): number; protected _set(f: Partial): GregorianDate; }