discontinuedPackage androssy_utils has been discontinued.

DateProvider class

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 Properties

currentDay → int
no setter
currentMonth → int
no setter
currentMS → int
no setter
currentYear → int
no setter

Static Methods

activeTime(int? ms) → String
isToday(int? ms) → bool
isTomorrow(int? ms) → bool
isYesterday(int? ms) → bool
toDate(int? timeMills, DateFormats format) → String
toDateFromUTC(int year, int month, int day, [DateFormats? format]) → String
toDateTime(int? timeMills) → DateTime
toDay(int timeMills) → int
toLiveTime(int? ms, [DateFormats format = DateFormats.dateDMY]) → String
toMonth(int timeMills) → int
toMSFromSource(String? source) → int
toMSFromUTC(int year, [int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0]) → int
toNamingTime(int? ms, [DateFormats? format]) → String
toPublishTime(int ms, [DateFormats timeFormat = DateFormats.timeHMa, DateFormats dateFormat = DateFormats.dateDMY]) → String
toYear(int timeMills) → int