read-gedcom
Version:
Gedcom file reader
11 lines • 380 B
JavaScript
import { SelectionTime, SelectionAny } from './internal';
import { parseExactDate } from '../parse';
export class SelectionDateExact extends SelectionAny {
valueAsExactDate() {
return this.value().map(parseExactDate);
}
getExactTime() {
return this.get("TIME" /* Tag.Time */, null, SelectionTime);
}
}
//# sourceMappingURL=SelectionDateExact.js.map