Iso8601DurationWeeksNotAlone class final

Weeks appeared beside another component. ISO 8601 makes PnW an alternative to PnYnMnDTnHnMnS, not a component of it, so the two never mix.

Inheritance

Constructors

Iso8601DurationWeeksNotAlone(String designator)
Creates the failure.
const

Properties

designator String
The component found alongside the weeks, as its ISO designator: Y, M, D, H or S.
final
hashCode int
The hash code for this object.
no setteroverride
message String
What went wrong, e.g. 'failed the mod-97 check', for logs.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
The value type that refused the input, e.g. 'Iban'. An explicit string, not a <T>, because extension types erase to their representation at runtime.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override