/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as r}from"tslib";import{ClonableMixin as o}from"../../core/Clonable.js";import{JSONSupport as t}from"../../core/JSONSupport.js";import{property as e,subclass as s}from"../../core/accessorSupport/decorators.js";import{ensureType as p}from"../../core/accessorSupport/ensureType.js";import{unitsDict as i}from"./DateBinUtils.js";import{enumeration as m}from"../../core/accessorSupport/decorators/enumeration.js";let u=class extends(o(t)){constructor(r){super(r),this.value=null,this.unit=null}};r([e({type:Number,json:{name:"number",write:!0}})],u.prototype,"value",void 0),r([m(i)],u.prototype,"unit",void 0),u=r([s("esri.rest.support.DateBinTimeInterval")],u);const c=u;u.from=p(u);export{c as default};
