def to_hash
        ret = {
          year: value[:year],
          month: value[:month],
          day: value[:day],