all repos — gears @ 375297ad9903d8d46a4e7185696f45a17718b011

lightweight world clock webapp with jquery, moment-timezone, and fuse.js

node_modules/moment/src/lib/moment/valid.js (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { isValid as _isValid } from '../create/valid';
import extend from '../utils/extend';
import getParsingFlags from '../create/parsing-flags';

export function isValid () {
    return _isValid(this);
}

export function parsingFlags () {
    return extend({}, getParsingFlags(this));
}

export function invalidAt () {
    return getParsingFlags(this).overflow;
}