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
DeathDatePropertyareValueParameter,LanguageParameter,AltidParameter,CalscaleParameterandAnyParameterCalscaleParametermay only be used when the value is of typeDateTimeTypeLanguageParametermay only be used when the value is of typeTextTypeIf you do not wish that the property have any parameters, leave the first argument array empty
The value of
DeathDatePropertyshould be of typeDateTimeTypeof the typedateandortimeorTextType
new DeathDateProperty([], new DateTimeType("dateandortime", "19960415"));
const ddp2val = new TextType("circa 1800");
new DeathDateProperty([new ValueParameter(ddp2val)], ddp2val);