B top-level property

Besselian - Replaced by Julian system, but still of occasional use

Implementation

final TimeInstantUnits B = TimeInstantUnits(
    'Bessellian', 'B', 'B', 'Bessellian', 1.0, false, 0.0, (dynamic val) {
  final jd = JD_TAI.fromMks(val).toDouble();
  return Double(1900.0 + ((jd - 2415020.31352) / 365.242198781));
}, (dynamic val) {
  final d = val is num
      ? val.toDouble()
      : val is Number
          ? val.toDouble()
          : 0.0;
  final jd = ((d - 1900.0) * 365.242198781) + 2415020.31352;
  return JD_TAI.toMks(jd);
});