Class: FlightLevelInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:87
Format for flight level input (accepts altitudes as well but always displays flight level).
Implements
FormatterValidator
<number
>
Constructors
Constructor
new FlightLevelInputFormat(
nullValueDisplay
):FlightLevelInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:89
Parameters
Parameter | Type | Default value |
---|---|---|
nullValueDisplay | string | '□□□□□' |
Returns
FlightLevelInputFormat
Inherit Doc
Properties
format
format:
FormatterFunction
<number
>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:93
Inherit Doc
Implementation of
FormatterValidator.format
nullValueString
nullValueString:
string
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:94
The string to show when a value is null
Implementation of
FormatterValidator.nullValueString
parse()
parse: (
input
) =>null
|number
|Promise
<null
|number
>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:91
Parameters
Parameter | Type |
---|---|
input | string |
Returns
null
| number
| Promise
<null
| number
>
Inherit Doc
Implementation of
FormatterValidator.parse