toDateTime method
Converts this JDate to a DateTime object with gregorian date.
Implementation
DateTime toDateTime() => isJs
? DateTime.fromMillisecondsSinceEpoch(_millisecondsSinceEpoch)
: DateTime.fromMicrosecondsSinceEpoch(_microsecondsSinceEpoch);