L10nDateExtension extension

Extension adding an ability to get DateTime formatted according to L10n.

on

Properties

e → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted as short weekday name.
no setter
hm → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted in Hm format.
no setter
hmyMd → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted in HmyMd format.
no setter
short → String

Available on DateTime, provided by the L10nDateExtension extension

Returns short text representing this DateTime.
no setter
yMd → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted in yMd format.
no setter
yMdHm → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted in yMdHm format.
no setter
yyMd → String

Available on DateTime, provided by the L10nDateExtension extension

Returns this DateTime formatted in yyMd format.
no setter

Methods

toRelative([DateTime? now]) → String

Available on DateTime, provided by the L10nDateExtension extension

Returns relative to now text representation.