timezonecomplete
Version:
DateTime, TimeZone, Duration and Period library aimed at providing a consistent and complete date-time interface, away from the original JavaScript Date class.
23 lines • 789 B
JavaScript
/**
* Copyright(c) 2014 ABB Switzerland Ltd.
*/
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DateFunctions = void 0;
/**
* Indicates how a Date object should be interpreted.
* Either we can take getYear(), getMonth() etc for our field
* values, or we can take getUTCYear(), getUtcMonth() etc to do that.
*/
var DateFunctions;
(function (DateFunctions) {
/**
* Use the Date.getFullYear(), Date.getMonth(), ... functions.
*/
DateFunctions[DateFunctions["Get"] = 0] = "Get";
/**
* Use the Date.getUTCFullYear(), Date.getUTCMonth(), ... functions.
*/
DateFunctions[DateFunctions["GetUTC"] = 1] = "GetUTC";
})(DateFunctions || (exports.DateFunctions = DateFunctions = {}));
//# sourceMappingURL=javascript.js.map