DatePeriodAssembler class

Constructors

DatePeriodAssembler([Date? _startDate, Date? inclusiveEndDate])
DatePeriodAssembler.byDuration(Date startDate, Duration duration)
DatePeriodAssembler.byPeriod(DatePeriod period)

Properties

duration Duration?
setting a duration without a start date defaults from 1970-1-1
getter/setter pair
endDate Date?
getter/setter pair
exclusiveEndDate Date?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
inDays int?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate Date?
getter/setter pair

Methods

duplicate() DatePeriodAssembler
generate() DatePeriod
initFrom(DatePeriod period) → void
isValid() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toYMMMMdString(String locale) String

Operators

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

Static Methods

newFromMap(Map<String, dynamic> map) DatePeriodAssembler
parseYMMMMdString(String yMMMMdString, String locale) DatePeriodAssembler