read-gedcom
Version:
Gedcom file reader
15 lines • 544 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SelectionDateExact = void 0;
const internal_1 = require("./internal");
const parse_1 = require("../parse");
class SelectionDateExact extends internal_1.SelectionAny {
valueAsExactDate() {
return this.value().map(parse_1.parseExactDate);
}
getExactTime() {
return this.get("TIME" /* Tag.Time */, null, internal_1.SelectionTime);
}
}
exports.SelectionDateExact = SelectionDateExact;
//# sourceMappingURL=SelectionDateExact.js.map