/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../chunks/_rollupPluginBabelHelpers","../../chunks/tslib.es6","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/reader","../../core/accessorSupport/decorators/subclass"],(function(e,r,t,o,s,i,a,c,n){"use strict";var p;let l=p=function(r){function t(e){var t;return(t=r.call(this,e)||this).respectsDaylightSaving=!1,t.timezone=null,t}e._inheritsLoose(t,r);var o=t.prototype;return o.readRespectsDaylightSaving=function(e,r){return void 0!==r.respectsDaylightSaving?r.respectsDaylightSaving:void 0!==r.respectDaylightSaving&&r.respectDaylightSaving},o.clone=function(){const{respectsDaylightSaving:e,timezone:r}=this;return new p({respectsDaylightSaving:e,timezone:r})},t}(t.JSONSupport);r.__decorate([o.property({type:Boolean,json:{write:!0}})],l.prototype,"respectsDaylightSaving",void 0),r.__decorate([c.reader("respectsDaylightSaving",["respectsDaylightSaving","respectDaylightSaving"])],l.prototype,"readRespectsDaylightSaving",null),r.__decorate([o.property({type:String,json:{read:{source:"timeZone"},write:{target:"timeZone"}}})],l.prototype,"timezone",void 0),l=p=r.__decorate([n.subclass("esri.layers.support.TimeReference")],l);return l}));
