ExtendedDuration class

Constructors

ExtendedDuration({int years = 0, int months = 0, int weeks = 0, int days = 0, int hours = 0, int minutes = 0, int seconds = 0, int milliseconds = 0, int microseconds = 0})
ExtendedDuration.fromDuration(Duration duration)
factory
ExtendedDuration.fromString(String value)
factory

Properties

days int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hours int
getter/setter pair
microseconds int
getter/setter pair
milliseconds int
getter/setter pair
minutes int
getter/setter pair
months int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seconds int
getter/setter pair
weeks int
getter/setter pair
years int
getter/setter pair

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.
inherited

Static Properties

dayRegex RegExp
final
hourRegex RegExp
final
millisecondRegex RegExp
final
minuteRegex RegExp
final
monthRegex RegExp
final
secondRegex RegExp
final
weekRegex RegExp
final
yearRegex RegExp
final