DeathDateProperty
This class represents the "DEATHDATE" property
This class should be called with two arguments, the first an array of the parameters, and the second the value of the property
The only acceptable parameters of
DeathDateProperty
areValueParameter
,LanguageParameter
,AltidParameter
,CalscaleParameter
andAnyParameter
CalscaleParameter
may only be used when the value is of typeDateTimeType
LanguageParameter
may only be used when the value is of typeTextType
If you do not wish that the property have any parameters, leave the first argument array empty
The value of
DeathDateProperty
should be of typeDateTimeType
of the typedateandortime
orTextType
new DeathDateProperty([], new DateTimeType("dateandortime", "19960415"));
const ddp2val = new TextType("circa 1800");
new DeathDateProperty([new ValueParameter(ddp2val)], ddp2val);