LazyExtDateTime extension

Lazy extension for DateTime

on

Methods

toFormat({String format = defaultDateTimeFormat}) String

Available on DateTime, provided by the LazyExtDateTime extension

Return String in supplied format or defaultTimestampFormat = yyyy-MM-dd HH:mm:ss
toStringFormat({String format = defaultDateTimeFormat}) String

Available on DateTime, provided by the LazyExtDateTime extension

Alias to toFormat
toTimestamp() String

Available on DateTime, provided by the LazyExtDateTime extension

Return String in format: defaultTimestampFormat = yyyy-MM-dd hhmmss

Static Properties

dayZero → dynamic

Available on DateTime, provided by the LazyExtDateTime extension

no setter
zeroDay → dynamic

Available on DateTime, provided by the LazyExtDateTime extension

no setter