@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
6 lines (5 loc) • 1.13 kB
JavaScript
/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
*/
import{_ as o}from"../../chunks/tslib.es6.js";import r from"../../core/Clonable.js";import{strict as e}from"../../core/jsonMap.js";import s from"../../core/JSONSupport.js";import{property as t}from"../../core/accessorSupport/decorators/property.js";import{ensureType as p}from"../../core/accessorSupport/ensureType.js";import"../../core/has.js";import"../../core/RandomLCG.js";import{enumeration as a}from"../../core/accessorSupport/decorators/enumeration.js";import{subclass as c}from"../../core/accessorSupport/decorators/subclass.js";const m=e()({year:"years",quarter:"quarters",month:"months",week:"weeks",day:"days",hour:"hours",minute:"minutes",second:"seconds"});let n=class extends(r.ClonableMixin(s)){constructor(o){super(o),this.value=null,this.unit=null}};o([t({type:Number,json:{name:"number",write:!0}})],n.prototype,"value",void 0),o([a(m)],n.prototype,"unit",void 0),n=o([c("esri.rest.support.DateBinTimeInterval")],n);const u=n;n.from=p(n);export{u as default};