PATH:
opt
/
bitninja-dispatcher
/
node_modules
/
moment
/
src
/
lib
/
moment
export function valueOf() { return this._d.valueOf() - (this._offset || 0) * 60000; } export function unix() { return Math.floor(this.valueOf() / 1000); } export function toDate() { return new Date(this.valueOf()); } export function toArray() { var m = this; return [ m.year(), m.month(), m.date(), m.hour(), m.minute(), m.second(), m.millisecond(), ]; } export function toObject() { var m = this; return { years: m.year(), months: m.month(), date: m.date(), hours: m.hours(), minutes: m.minutes(), seconds: m.seconds(), milliseconds: m.milliseconds(), }; } export function toJSON() { // new Date(NaN).toJSON() === null return this.isValid() ? this.toISOString() : null; }
[-] valid.js
[edit]
[+]
..
[-] start-end-of.js
[edit]
[-] now.js
[edit]
[-] to.js
[edit]
[-] min-max.js
[edit]
[-] constructor.js
[edit]
[-] to-type.js
[edit]
[-] diff.js
[edit]
[-] get-set.js
[edit]
[-] creation-data.js
[edit]
[-] compare.js
[edit]
[-] format.js
[edit]
[-] prototype.js
[edit]
[-] add-subtract.js
[edit]
[-] calendar.js
[edit]
[-] locale.js
[edit]
[-] moment.js
[edit]
[-] from.js
[edit]
[-] clone.js
[edit]