BdayProperty
This class represents the "BDAY" 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
BdayProperty
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
BdayProperty
should be of typeDateTimeType
of the typedateandortime
orTextType
new BdayProperty([], new DateTimeType("dateandortime", "19960415"));
const bday2val = new TextType("circa 1800");
new BdayProperty([new ValueParameter(bday2val)], bday2val);