Open tobiasschweizer opened 5 years ago
Currently, a calendar date can be constructed using either of these two signatures:
constructor(period: JDNPeriod);
constructor(period: CalendarPeriod);
In addition, the following signatures should be supported:
constructor(period: JDN);
constructor(period: CalendarDate);
In these cases, JDNConvertibleCalendar would create a period where start and end dates are equal.
JDNConvertibleCalendar
relates to https://github.com/dhlab-basel/JDNConvertibleCalendarDateAdapter/pull/9#issuecomment-470711760
Users might find it convenient to use constructor(year: number, month: number, day: number);. But the same effect can be achieved doing new JulianCalendarDate(new CalendarDate(1729, 10, 13));.
constructor(year: number, month: number, day: number);
new JulianCalendarDate(new CalendarDate(1729, 10, 13));
Currently, a calendar date can be constructed using either of these two signatures:
constructor(period: JDNPeriod);
constructor(period: CalendarPeriod);
In addition, the following signatures should be supported:
constructor(period: JDN);
constructor(period: CalendarDate);
In these cases,
JDNConvertibleCalendar
would create a period where start and end dates are equal.relates to https://github.com/dhlab-basel/JDNConvertibleCalendarDateAdapter/pull/9#issuecomment-470711760
Users might find it convenient to use
constructor(year: number, month: number, day: number);
. But the same effect can be achieved doingnew JulianCalendarDate(new CalendarDate(1729, 10, 13));
.