UNPKG

@js-sugar/date

Version:

A multi-calendar, tree-shakable, extensible, immutable and lightweight date library for JavaScript

1 lines 574 B
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["jss-date"]=t():e["jss-date"]=t()}(this,(function(){return(this.webpackChunkjss_date=this.webpackChunkjss_date||[]).push([[337],{400:(e,t,s)=>{"use strict";function o(e){const{year:t,month:s,day:o,hour:n,minute:i,second:r,ms:d}=e.toObject();return e.calendar.isValid(t,s,o)&&n>=0&&n<24&&i>=0&&i<60&&r>=0&&r<60&&d>=0&&d<1e3}s.r(t),s.d(t,{isValid:()=>o})}},e=>{"use strict";var t;return t=400,e(e.s=t)}])}));