@anoki/fse-marche-ui
Version:
FSE UI components library
3 lines (2 loc) • 884 B
JavaScript
;const i=require("./index.cjs124.js"),s=require("./index.cjs133.js");let n=null;class e extends s{static get utcInstance(){return n===null&&(n=new e(0)),n}static instance(t){return t===0?e.utcInstance:new e(t)}static parseSpecifier(t){if(t){const r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new e(i.signedOffset(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${i.formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${i.formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return i.formatOffset(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}module.exports=e;
//# sourceMappingURL=index.cjs122.js.map