UNPKG

@accordproject/concerto-core

Version:

Core Implementation for the Concerto Modeling Language

16 lines (15 loc) 451 B
/** * Ensures there is a proper current time * * @param {string} [currentTime] - the definition of 'now' * @param {number} [utcOffset] - UTC Offset for this execution * @returns {object} if valid, the dayjs object for the current time */ declare function setCurrentTime(currentTime?: any, utcOffset?: any): { currentTime: any; utcOffset: any; }; declare const _default: { setCurrentTime: typeof setCurrentTime; }; export = _default;