@o3r/components
Version:
This module contains component-related features (Component replacement, CMS compatibility, helpers, pipes, debugging developer tools...) It comes with an integrated ng builder to help you generate components compatible with Otter features (CMS integration
16 lines • 616 B
TypeScript
/** Time object to format duration */
export interface TimeUnit {
/** character defining the time unit */
formatCharacter: string;
/** divider to get the time unit value */
divider: number;
/**
* modulo for the time unit
* If not provided, it will either use the immediately higher unit time divider
* or Number.MAX_SAFE_INTEGER for the highest one
*/
modulo?: number;
}
/** const array of ordered measurement unit time from the highest unit to the lowest (days to seconds) */
export declare const defaultTimeUnits: TimeUnit[];
//# sourceMappingURL=duration.model.d.ts.map