InvalidFlexiDate class
Represents a date that's couldn't be parsed.
- Inheritance
- Available extensions
Constructors
- InvalidFlexiDate(String source, [String? message])
-
const
Properties
- day ↔ int?
-
getter/setter pairinherited
- error → String?
-
Available on FlexiDate, provided by the FlexiDateExt extension
no setter - hasDay → bool
-
Available on FlexiDate, provided by the FlexiDateExt extension
no setter - hashCode → int
-
The hash code for this object.
no setteroverride
- hasMonth → bool
-
Available on FlexiDate, provided by the FlexiDateExt extension
no setter - hasYear → bool
-
Available on FlexiDate, provided by the FlexiDateExt extension
no setter - isAmbiguous → bool
-
no setterinherited
- isFullDate → bool
-
Available on FlexiDate, provided by the FlexiDateExt extension
no setter - isFuture → bool
-
Available on FlexiDate, provided by the FlexiDateExt extension
Whether this date is in the futureno setter - isValid → bool
-
no setterinherited
- message → String?
-
final
- month ↔ int?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → String
-
final
- year ↔ int?
-
getter/setter pairinherited
Methods
-
copy(
) → FlexiDate -
Available on FlexiDate, provided by the FlexiDateExt extension
-
formatted(
) → String? -
Available on FlexiDate, provided by the DateComponentsFormat extension
-
fullFormat(
{String futureLabel = "in", String historyLabel = "ago", bool withYear = false, String dateLabel = ""}) → String -
Available on FlexiDate, provided by the DateComponentsFormat extension
-
isSameMonth(
DateTime date) → bool -
Available on FlexiDate, provided by the DateComponentsComparisons extension
-
millisecondsSinceEpoch(
[Location? location]) → int -
Available on FlexiDate, provided by the FlexiDateExt extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDateTime(
[Location? location]) → DateTime -
Available on FlexiDate, provided by the FlexiDateExt extension
-
toJson(
) → dynamic -
override
-
toString(
) → String -
A string representation of this object.
override
-
withoutDay(
) → FlexiDate -
Available on FlexiDate, provided by the FlexiDateExt extension
-
withoutYear(
) → FlexiDate -
Available on FlexiDate, provided by the FlexiDateExt extension
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override