Optional
options: DateTimeFormatOptionsServices accessor. Note: Not passed into the constructor because this object should be created before ValidationServices itself. So it gets assigned when ValidationService.dataTypeFormatterService is assigned a value.
Provides access to services.
Protected
hasProtected
optionsProtected
expectedThe DataTypeLookup key(s) that this class supports.
Evaluates the parameters to determine if its format() method should handle the value with those same parameters. It should always match the DataTypeLookupKey. It does not have to evaluate the cultureID, as there are implementations where the format() function handles eve
Such as 'en-US' and 'en'
Use its format() method when true. Do not use format() when false.
Protected
prepProtected
matchingCreates a formatted string for the value, applying the goals of the DataTypeLookupKey and making it culture specific.
Protected
formatIf the value is a Date object, it uses Intl.DateTimeFormat. If it is null, it returns the empty string. Anything else is an error.
Optional
options: null | DateTimeFormatOptionsif Null, it uses the options supplied in the constructor or DefaultOptions function.
Protected
getProtected
supportsGenerated using TypeDoc v0.25.12
For LookupKey.AbbrevDate. Uses Intl library's DateTimeFormat to Month as abbreviated name, Y and D as digits (abbreviated date format) unless you provide alternatives in the constructor.