igniteui-react-core
Version:
Ignite UI React Core.
235 lines (234 loc) • 7.01 kB
JavaScript
import { __extends } from "tslib";
import { IgrFormatSpecifier } from "./igr-format-specifier";
import { DateTimeFormatSpecifier as DateTimeFormatSpecifier_internal } from "./DateTimeFormatSpecifier";
var IgrDateTimeFormatSpecifier = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrDateTimeFormatSpecifier, _super);
function IgrDateTimeFormatSpecifier() {
return _super.call(this) || this;
}
IgrDateTimeFormatSpecifier.prototype.createImplementation = function () {
return new DateTimeFormatSpecifier_internal();
};
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "locale", {
get: function () {
return this.i.locale;
},
set: function (v) {
this.i.locale = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "dateStyle", {
get: function () {
return this.i.dateStyle;
},
set: function (v) {
this.i.dateStyle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "timeStyle", {
get: function () {
return this.i.timeStyle;
},
set: function (v) {
this.i.timeStyle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "fractionalSecondDigits", {
get: function () {
return this.i.fractionalSecondDigits;
},
set: function (v) {
this.i.fractionalSecondDigits = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "calendar", {
get: function () {
return this.i.calendar;
},
set: function (v) {
this.i.calendar = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "dayPeriod", {
get: function () {
return this.i.dayPeriod;
},
set: function (v) {
this.i.dayPeriod = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "numberingSystem", {
get: function () {
return this.i.numberingSystem;
},
set: function (v) {
this.i.numberingSystem = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "localeMatcher", {
get: function () {
return this.i.localeMatcher;
},
set: function (v) {
this.i.localeMatcher = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "timeZone", {
get: function () {
return this.i.timeZone;
},
set: function (v) {
this.i.timeZone = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "hour12", {
get: function () {
return this.i.hour12;
},
set: function (v) {
this.i.hour12 = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "hourCycle", {
get: function () {
return this.i.hourCycle;
},
set: function (v) {
this.i.hourCycle = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "formatMatcher", {
get: function () {
return this.i.formatMatcher;
},
set: function (v) {
this.i.formatMatcher = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "weekDay", {
get: function () {
return this.i.weekDay;
},
set: function (v) {
this.i.weekDay = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "era", {
get: function () {
return this.i.era;
},
set: function (v) {
this.i.era = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "year", {
get: function () {
return this.i.year;
},
set: function (v) {
this.i.year = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "month", {
get: function () {
return this.i.month;
},
set: function (v) {
this.i.month = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "day", {
get: function () {
return this.i.day;
},
set: function (v) {
this.i.day = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "hour", {
get: function () {
return this.i.hour;
},
set: function (v) {
this.i.hour = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "minute", {
get: function () {
return this.i.minute;
},
set: function (v) {
this.i.minute = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "second", {
get: function () {
return this.i.second;
},
set: function (v) {
this.i.second = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrDateTimeFormatSpecifier.prototype, "timeZoneName", {
get: function () {
return this.i.timeZoneName;
},
set: function (v) {
this.i.timeZoneName = v;
},
enumerable: false,
configurable: true
});
return IgrDateTimeFormatSpecifier;
}(IgrFormatSpecifier));
export { IgrDateTimeFormatSpecifier };