TGDateUtil class

TGFramework's Date related implementation

Constructors

TGDateUtil()

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

convertTimezoneWithDateTime(DateTime fromTime, TGTimeZone fromTimeZone, TGTimeZone toTimeZone, {String dateTimePattern = _DATE_TIME_PATTERN}) DateTime
convertTimezoneWithString(String fromTime, TGTimeZone fromTimeZone, TGTimeZone toTimeZone, {String dateTimePattern = _DATE_TIME_PATTERN}) String
formatDate(DateTime dateTime, {String datePattern = _DATE_PATTERN}) String
Formats Date
formatDateTime(DateTime dateTime, {String dateTimePattern = _DATE_TIME_PATTERN}) String
Formats DateTime
parseDate(String dateTime, {String datePattern = _DATE_PATTERN}) DateTime
Parse Date
parseDateTime(String dateTime, {String dateTimePattern = _DATE_TIME_PATTERN}) DateTime
Parse DateTime