/** * This file contains code adapted from the React Spectrum project. * * Copyright (c) [year(s)], Adobe Inc. and other contributors. * All rights reserved. * * This source code is licensed under the Apache License, Version 2.0 * found in the LICENSE.txt file at the root directory of this source tree. */ import { CalendarDate } from '../CalendarDate'; import { AnyCalendarDate } from '../types'; import { GregorianCalendar } from './GregorianCalendar'; /** * The Indian National Calendar is similar to the Gregorian calendar, but with * years numbered since the Saka era in 78 AD (Gregorian). There are 12 months * in each year, with either 30 or 31 days. Only one era identifier is supported: 'saka'. */ export declare class IndianCalendar extends GregorianCalendar { identifier: string; fromJulianDay(jd: number): CalendarDate; toJulianDay(date: AnyCalendarDate): number; getDaysInMonth(date: AnyCalendarDate): number; getYearsInEra(): number; getEras(): string[]; balanceDate(): void; }