UNPKG

@rr0/time

Version:
52 lines 1.27 kB
/** @import { CalendarUnit } from "../../calendar/unit/CalendarUnit.mjs" */ /** * @typedef {Level0ComponentSpec} Level1ComponentSpec * @property {boolean} [uncertain] * @property {boolean} [approximate] */ /** * @abstract */ export class Level1Component extends Level0Component { /** * @param {boolean} val */ set uncertain(val: boolean); /** * @type boolean */ get uncertain(): boolean; /** * @param {boolean} val */ set approximate(val: boolean); /** * @type boolean */ get approximate(): boolean; /** * @protected * @return {boolean} */ protected isCertainAndPrecise(): boolean; /** * @param {this} other * @return {boolean} */ isEqual(other: this): boolean; /** * @param {this} other * @return {boolean} */ isBefore(other: this): boolean; /** * @param {this} other * @return {boolean} */ isAfter(other: this): boolean; #private; } export type Level1ComponentSpec = Level0ComponentSpec; import { Level0Component } from "../../level0/component/Level0Component.mjs"; import type { Level0ComponentSpec } from "../../level0/component/Level0Component.mjs"; //# sourceMappingURL=Level1Component.d.mts.map