Namespace: dateUtil
@atomic-testing/component-driver-mui-v5.dateUtil
Interfaces
Variables
dateOnly
• Const
dateOnly: Readonly
<DateTimePart
>
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:10
Functions
dateTimeToTextEntry
▸ dateTimeToTextEntry(date
, _format
): string
Parameters
Name | Type |
---|---|
date | Date |
_format | string |
Returns
string
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:44
dateToTextEntry
▸ dateToTextEntry(date
, _format
): string
Parameters
Name | Type |
---|---|
date | Date |
_format | string |
Returns
string
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:15
getZeroes
▸ getZeroes(count
): string
Parameters
Name | Type |
---|---|
count | number |
Returns
string
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:72
padLeftZeroes
▸ padLeftZeroes(number
, digits
): string
Return numeric text with padding zero's to guarantee the number of digits
Parameters
Name | Type |
---|---|
number | string |
digits | number |
Returns
string
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:61
textEntryToDate
▸ textEntryToDate(text
, _format
): Date
| null
Parameters
Name | Type |
---|---|
text | string |
_format | string |
Returns
Date
| null
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:24
textEntryToDateTime
▸ textEntryToDateTime(text
, _format
): Date
| null
Parameters
Name | Type |
---|---|
text | string |
_format | string |
Returns
Date
| null
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:48
textEntryToTime
▸ textEntryToTime(text
, _format
): Date
| null
Parameters
Name | Type |
---|---|
text | string |
_format | string |
Returns
Date
| null
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:36
timeToTextEntry
▸ timeToTextEntry(date
, _format
): string
Parameters
Name | Type |
---|---|
date | Date |
_format | string |
Returns
string
Defined in
packages/component-driver-mui-v5/src/components/datepicker/dateUtil.ts:31