code: @Override public int compareTo(Duration rhs)
     {
        if (m_units != rhs.m_units)
        {
           rhs = convertUnits(rhs.m_duration, rhs.m_units, m_units, (8 * 60), (5 * 8 * 60), 20);
        }
  
        return durationComponentEquals(rhs) ? 0 : m_duration < rhs.m_duration ? -1 : 1;
     }
docs: {@inheritDoc}