PlutoDateTimeHelper class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getDaysInBetween(
DateTime startDate, DateTime endDate) → List< DateTime> -
Returns the dates of
startDate
andendDate
. -
moveToFirstWeekday(
DateTime date) → DateTime -
Returns the first date of the week containing
date
. -
moveToLastWeekday(
DateTime date) → DateTime -
Returns the last day of the week containing
date
. -
parseOrNullWithFormat(
String date, String format) → DateTime? -
Returns the value converted from
date
toformat
. If conversion fails, null is returned.