/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as o}from"tslib";import{ClonableMixin as r}from"../core/Clonable.js";import{JSONSupport as t}from"../core/JSONSupport.js";import{convertTime as e}from"../core/timeUtils.js";import{property as i,subclass as s}from"../core/accessorSupport/decorators.js";import{timeUnitKebabDictionary as l}from"../portal/timeUnitKebabDictionary.js";import{enumeration as m}from"../core/accessorSupport/decorators/enumeration.js";let p=class extends(r(t)){constructor(o){super(o),this.unit="milliseconds",this.value=0}toMilliseconds(){return e(this.value,this.unit,"milliseconds")}};o([m(l,{nonNullable:!0})],p.prototype,"unit",void 0),o([i({type:Number,json:{write:!0},nonNullable:!0})],p.prototype,"value",void 0),p=o([s("esri.time.TimeInterval")],p);export{p as default};
