DateHelper 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
-
dayTimeName(
int timestamp) → String - Day time name
-
DHMS(
int timestamp) → String - Wednesday at 00:00:00 am
-
emailDate(
int timestamp) → String - Sun, 27 Aug 2023
-
FB_Format(
int timestamp) → String - Aug 29, 2023 at 12:27 AM
-
FIREBASE(
int timestamp) → String - 12 August 2023 at 09:41:45 UTC+5
-
HM_12(
int timestamp) → String -
HM_24(
int timestamp) → String -
HM_SECONDS(
int timestamp) → String - 11:30 PM and 20 seconds
-
HMMDY(
int timestamp) → String - 9:12 AM on May 9, 2023
-
HMS_12(
int timestamp) → String -
HMS_24(
int timestamp) → String -
isLeapYear(
int year) → bool -
ISO_801(
int timestamp) → String - ISO 801 Variation (midnight UTC on January 1, 1901)
-
leapYear(
int milliSecondTimeEpoch) → bool -
long_US_DateTime(
int timestamp) → String - dddd, MMMM dd, yyyy h:mm:ss tt
-
mac_OS_DateTime(
int timestamp) → String - MAC OS Format Sun 27 Aug 11:30 PM
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
PAKISTANI(
int timestamp) → String - DD-MM-YYYY
-
S_UTC_MDY(
int timestamp) → String - 1 second past midnight Eastern Standard Time (EST) on January 1, 1901
-
SHMMDY(
int timestamp) → String - 30 seconds after 2:00 PM on April 1, 1977
-
short_US_DateTime(
int timestamp) → String - M/d/yyyy h:mm tt
-
simpleDate(
int timestamp) → String -
SLASH_PAKISTANI(
int timestamp) → String - DD/MM/YYYY
-
timeAgoNumeric(
int timestamp) → String -
timeAgoString(
int timestamp) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
daysInMonth_leapYear
→ const List<
int> -
daysInMonth_simpleYear
→ const List<
int> -
shortMonths
→ const List<
String> -
shortWeekdays
→ const List<
String>