def value=(value)
      if value.is_a?(Integer) && (value >= -10485761231 && value <= 10485761231)
        @bits = self.class.set_date(@bits, value)
      else
         raise PartialDateError, "Date value must be an integer betwen -10485761231 and 10485761231"
      end
    end
def value=(value)
      if value.is_a?(Integer) && (value >= -10485761231 && value <= 10485761231)
        @bits = self.class.set_date(@bits, value)
      else
         raise PartialDateError, "Date value must be an integer betwen -10485761231 and 10485761231"
      end
    end
Public: Set a date value using an interger in partial date format.

 Examples

   date.value = 20121200

 Returns nothing