DateTimeUtil 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
-
addDaysToDateTime(
DateTime date, int days) → DateTime -
convertFromStringPtBr(
String value) → DateTime -
convertStringToTimeOfDay(
String s) → TimeOfDay -
diffDays(
DateTime minorDate, DateTime majorDate) → int -
format(
DateTime value, String format) → String -
formatDate(
DateTime value) → String -
formatDateTime(
DateTime value) → String -
formatDateTimeFromString(
String value) → String -
formatDateTimeISO8601(
DateTime value) → String -
formatTimeOfDay(
TimeOfDay tod) → String -
getFirstDateOfMonth(
) → DateTime -
getLastDateOfMonth(
) → DateTime -
parse(
String value, String format) → DateTime -
removeDaysToDateTime(
DateTime date, int days) → DateTime