Class DateValue

  • All Implemented Interfaces:
    Value

    public class DateValue
    extends BaseValue
    A DateValue provides an implementation of the Value interface representing a date value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int TYPE  
    • Constructor Summary

      Constructors 
      Constructor Description
      DateValue​(java.util.Calendar date)
      Constructs a DateValue object representing a date.
    • Constructor Detail

      • DateValue

        public DateValue​(java.util.Calendar date)
                  throws java.lang.IllegalArgumentException
        Constructs a DateValue object representing a date.
        Parameters:
        date - the date this DateValue should represent
        Throws:
        java.lang.IllegalArgumentException - if the given date cannot be represented as defined by ISO 8601.