JDate.fromMillisecondsSinceEpoch constructor
Constructs a new JDate instance
with the given millisecondsSinceEpoch
.
If isUtc
is false then the date is in the local time zone.
The constructed JDate represents
1348-10-11 00:00:00 + millisecondsSinceEpoch
ms in the given
time zone (local or UTC).
millisecondsSinceEpoch
is completely based on gregorian.
Implementation
JDate.fromMillisecondsSinceEpoch(int millisecondsSinceEpoch,
{bool isUtc = false}) {
_internal(DateTime.fromMillisecondsSinceEpoch(millisecondsSinceEpoch,
isUtc: isUtc));
}