TimeOfDayExtensions2<dynamics extends TimeOfDay?> extension

on

Properties

isAM → bool?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Check if nullable TimeOfDay is AM
no setter
isPM → bool?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Check if nullable TimeOfDay is PM
no setter
totalMinutes → int?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Get total minutes since midnight for nullable TimeOfDay
no setter

Methods

addMinutes(int minutes) → TimeOfDay?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Add minutes to nullable TimeOfDay
convertTimeIntoDecimalOfHour([int decimalPoint = 1]) → double

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Convert nullable time into decimal of hour
convertToDuration() → Duration?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Convert nullable TimeOfDay to Duration since midnight
convertToString({bool showSeconds = false, bool showUtcSymbol = false, bool preferUtcSymbolThanZ = false, bool showSeparatorSymbol = true, bool use24HourFormat = true}) → String

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Convert nullable TimeOfDay to formatted string
differenceInMinutes(TimeOfDay? other) → int?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Get difference in minutes between two nullable TimeOfDay instances
isAfter(TimeOfDay? other) → bool?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Check if nullable time is after another time
isBefore(TimeOfDay? other) → bool?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Check if nullable time is before another time
subtractMinutes(int minutes) → TimeOfDay?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Subtract minutes from nullable TimeOfDay
toAtcTimeString({bool withSeparator = false}) → String?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Convert nullable TimeOfDay to ATC time format
toDateTime(DateTime date, {bool isUtc = true}) → DateTime?

Available on TimeOfDay?, provided by the TimeOfDayExtensions2 extension

Convert nullable TimeOfDay to DateTime on a specific date