DateUtils class

Helper class for date operations.

Constructors

DateUtils()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

daysOfWeek ↔ int
read / write
REGEX_AM_PM ↔ RegExp
read / write
REGEX_APRIL ↔ RegExp
read / write
REGEX_AUGUST ↔ RegExp
read / write
REGEX_DATE ↔ RegExp
read / write
REGEX_DAY ↔ RegExp
read / write
REGEX_DECEMBER ↔ RegExp
read / write
REGEX_FEBRUARY ↔ RegExp
read / write
REGEX_FRIDAY ↔ RegExp
read / write
REGEX_HOUR ↔ RegExp
read / write
REGEX_JANUARY ↔ RegExp
read / write
REGEX_JULY ↔ RegExp
read / write
REGEX_JUNE ↔ RegExp
read / write
REGEX_MARCH ↔ RegExp
read / write
REGEX_MAY ↔ RegExp
read / write
REGEX_MINUTES ↔ RegExp
read / write
REGEX_MONDAY ↔ RegExp
read / write
REGEX_MONTH ↔ RegExp
read / write
REGEX_MONTHS ↔ RegExp
read / write
REGEX_NOVEMBER ↔ RegExp
read / write
REGEX_OCTOBER ↔ RegExp
read / write
REGEX_SATURDAY ↔ RegExp
read / write
REGEX_SECONDS ↔ RegExp
read / write
REGEX_SEPTEMBER ↔ RegExp
read / write
REGEX_SUNDAY ↔ RegExp
read / write
REGEX_THURSDAY ↔ RegExp
read / write
REGEX_TUESDAY ↔ RegExp
read / write
REGEX_WEDNESDAY ↔ RegExp
read / write
REGEX_WEEK ↔ RegExp
read / write
REGEX_WEEKDAY ↔ RegExp
read / write
REGEX_YEAR ↔ RegExp
read / write
regexApril ↔ String
read / write
regexAugust ↔ String
read / write
regexDecember ↔ String
read / write
regexFebruary ↔ String
read / write
regexFriday ↔ String
read / write
regexJanuary ↔ String
read / write
regexJuly ↔ String
read / write
regexJune ↔ String
read / write
regexMarch ↔ String
read / write
regexMay ↔ String
read / write
regexMonday ↔ String
read / write
regexNovember ↔ String
read / write
regexOctober ↔ String
read / write
regexSaturday ↔ String
read / write
regexSeptember ↔ String
read / write
regexSunday ↔ String
read / write
regexThursday ↔ String
read / write
regexTuesday ↔ String
read / write
regexWednesday ↔ String
read / write

Static Methods

stringToDateTime(String s, { DateTime time }) → DateTime
Converts English textual datetime description to a DateTime object. [...]