def before?(other)
      (year < other.year) || (year == other.year && (month < other.month || (month == other.month && day < other.day)))
    end