class TZInfo::Timezone

def <=>(tz)

Returns:
  • (Integer) - -1 if `tz` is less than `self`, 0 if `tz` is equal to

Parameters:
  • tz (Object) -- an `Object` to compare this {Timezone} with.
def <=>(tz)
  return nil unless tz.is_a?(Timezone)
  identifier <=> tz.identifier
end