TimeExtension extension
- on
-
- int?
Properties
- isToday → bool
-
Available on int?, provided by the TimeExtension extension
no setter - isTomorrow → bool
-
Available on int?, provided by the TimeExtension extension
no setter - isYesterday → bool
-
Available on int?, provided by the TimeExtension extension
no setter - realtime → String
-
Available on int?, provided by the TimeExtension extension
Converts milliseconds since epoch to a human-readable relative time string.no setter
Methods
-
toDate(
{String? format, String? local, TimeFormats? timeFormat, DateFormats dateFormat = DateFormats.dateDMCY, String? separator}) → String -
Available on int?, provided by the TimeExtension extension
Converts the custom date to a formatted string. -
toRealtime(
{String? format, String? local, TimeFormats timeFormat = TimeFormats.timeHMa, DateFormats dateFormat = DateFormats.dateDMCY, String separator = " at ", RealtimeTextFormats? formats, RealtimeOptions? options}) → String -
Available on int?, provided by the TimeExtension extension
Converts milliseconds since epoch to a customizable relative time string.