/** * @template Y extends Level1Component = Level1Year * @template MM extends Level1Component = Level1Month * @template D extends Level1Component = Level1Day * @template H extends Level1Component = Level1Hour * @template M extends Level1Component = Level1Minute * @template S extends Level1Component = Level1Second * @template Z extends Level1Component = Level1Timeshift */ export class Level0Factory extends LevelFactory { /** * * @param {TimeUnits} units */ constructor(units: TimeUnits); /** * @param {number} value * @return Y */ newYear(value: number): Level0Year; /** * @param {number} value * @return MM */ newMonth(value: number): Level0Month; /** * @param {number} value * @return D */ newDay(value: number): Level0Day; /** * @param {number} value * @return H */ newHour(value: number): Level0Hour; /** * @param {number} value * @return M */ newMinute(value: number): Level0Minute; /** * @param {number} value * @return S */ newSecond(value: number): Level0Second; /** * @param {number} value * @return {Level0Millisecond} */ newMillisecond(value: number): Level0Millisecond; /** * @param {Level0TimeshiftSpec|number} value * @return {Z} */ newTimeshift(value: Level0TimeshiftSpec | number): Z; } export const level0Factory: Level0Factory; export const level0DurationFactory: Level0Factory; import { LevelFactory } from "../LevelFactory.mjs"; import { Level0Year } from "./year/index.mjs"; import { Level0Month } from "./month/index.mjs"; import { Level0Day } from "./day/index.mjs"; import { Level0Hour } from "./hour/index.mjs"; import { Level0Minute } from "./minute/index.mjs"; import { Level0Second } from "./second/index.mjs"; import { Level0Millisecond } from "../level0/millisecond/index.mjs"; import { TimeUnits } from "../calendar/unit/TimeUnits.mjs"; //# sourceMappingURL=Level0Factory.d.mts.map