diffrence method

Duration diffrence(
  1. Julian other
)

Calculates the time difference between two Julian dates.

Returns a Duration representing the time difference between the two dates.

Implementation

Duration diffrence(Julian other) {
  return toDateTime().difference(other.toDateTime());
}