UNPKG

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.

19 lines (18 loc) 482 B
/** * Copyright(c) 2014 ABB Switzerland Ltd. */ /** * 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. */ export declare enum DateFunctions { /** * Use the Date.getFullYear(), Date.getMonth(), ... functions. */ Get = 0, /** * Use the Date.getUTCFullYear(), Date.getUTCMonth(), ... functions. */ GetUTC = 1 }