Period class

Contains a precise period of time.

Constructors

Period(DateTime startDate, {IsoDuration? duration, DateTime? endDate})
Period.text(String content)

Properties

duration IsoDuration?
The duration
final
endDate DateTime?
The end date
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime
The startdate
final

Methods

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

Operators

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

Static Methods

parse(String textValue) Period