UNPKG

@omnia/fx-models

Version:
16 lines (15 loc) 515 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BirthdayPropertyValue = void 0; const PropertyValue_1 = require("../PropertyValue"); class BirthdayPropertyValue extends PropertyValue_1.PropertyValue { constructor(birthday, timeZoneId) { super(); this.timeZoneId = timeZoneId; this.birthday = birthday ? birthday.toJSON() : undefined; } isEmpty() { return !this.birthday; } } exports.BirthdayPropertyValue = BirthdayPropertyValue;