/** Calendar code extracted from https://github.com/phensley/cldr-engine/ Copyright 2018-present Patrick Hensley Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import { CalendarDate } from './calendar'; /** * Construct a date using the rules of the Gregorian calendar. * * type: gregory * * @alpha */ export declare class GregorianDate extends CalendarDate { protected constructor(firstDay: number, minDays: number); withZone(zoneId: string): GregorianDate; static fromUnixEpoch(epoch: number, zoneId: string, firstDay?: number, minDays?: number): GregorianDate; protected initFromUnixEpoch(epoch: number, zoneId: string): GregorianDate; protected initFromJD(jd: number, msDay: number, zoneId: string): GregorianDate; protected initFields(f: number[]): void; protected daysInMonth(y: number, m: number): number; protected daysInYear(y: number): number; protected monthCount(): number; protected monthStart(eyear: number, month: number, _useMonth: boolean): number; }