Skip to content

Latest commit

 

History

History
137 lines (69 loc) · 2.3 KB

DateTimeFormatter.md

File metadata and controls

137 lines (69 loc) · 2.3 KB

@serenity-is/corelib / DateTimeFormatter

Class: DateTimeFormatter

Extends

Constructors

new DateTimeFormatter()

new DateTimeFormatter(props): DateTimeFormatter

Parameters

props
props.displayFormat

string

Returns

DateTimeFormatter

Overrides

DateFormatter.constructor

Defined in

src/ui/formatters/formatters.ts:91

Properties

props

readonly props: object = {}

displayFormat?

optional displayFormat: string

Inherited from

DateFormatter.props

Defined in

src/ui/formatters/formatters.ts:52

Accessors

displayFormat

Get Signature

get displayFormat(): string

Returns

string

Set Signature

set displayFormat(value): void

Parameters
value

string

Returns

void

Inherited from

DateFormatter.displayFormat

Defined in

src/ui/formatters/formatters.ts:81

Methods

format()

format(ctx): string

Parameters

ctx

FormatterContext<any>

Returns

string

Inherited from

DateFormatter.format

Defined in

src/ui/formatters/formatters.ts:84


format()

static format(value, format?): any

Parameters

value

any

format?

string

Returns

any

Inherited from

DateFormatter.format

Defined in

src/ui/formatters/formatters.ts:57