gstime function
Implementation
double? gstime(dynamic yearOrDate,
[int? mon, int? day, int? hr, int? minute, double? sec, double? msec]) {
if (yearOrDate is DateTime) {
final jdayVal = jday(yearOrDate, mon, day, hr, minute, sec, msec);
if (jdayVal == null) {
return null;
}
return gstimeInternal(jdayVal.toInt());
}
return gstimeInternal(yearOrDate);
}