UNPKG

@js-joda/extra

Version:

additional date-time classes that complement those in js-joda

37 lines (30 loc) 955 B
/* * @copyright (c) 2016, Philipp Thürwächter & Pattrick Hüper * @license BSD-3-Clause (see LICENSE in the root directory of this source tree) */ import { _init as dayOfMonthInit } from './DayOfMonth'; import { _init as dayOfYearInit } from './DayOfYear'; import { _init as intervalInit } from './Interval'; import { _init as localDateRangeInit } from './LocalDateRange'; import { _init as offsetDateInit } from './OffsetDate'; import { _init as quarterInit } from './Quarter'; import { _init as temporalsInit } from './Temporals'; import { _init as yearQuarterInit } from './YearQuarter'; import { _init as yearWeekInit } from './YearWeek'; let isInit = false; function init() { if (isInit) { return; } isInit = true; dayOfMonthInit(); dayOfYearInit(); intervalInit(); localDateRangeInit(); offsetDateInit(); quarterInit(); temporalsInit(); yearQuarterInit(); yearWeekInit(); } init();