Class DateValue

  • All Implemented Interfaces:
    IBuiltInTypeValue

    public class DateValue
    extends java.lang.Object
    implements IBuiltInTypeValue
    date Built-in Type converts to a Calendar.
    Author:
    Christopher Mindus
    • Constructor Summary

      Constructors 
      Constructor Description
      DateValue()  
    • Constructor Detail

      • DateValue

        public DateValue()
    • Method Detail

      • convertBuiltInTypeToValue

        public Value convertBuiltInTypeToValue​(java.lang.String valueString)
                                        throws java.text.ParseException
        Converts a Built-in Type to Value.
        Specified by:
        convertBuiltInTypeToValue in interface IBuiltInTypeValue
        Parameters:
        valueString - The Built-in Type value string.
        Returns:
        The converted Value.
        Throws:
        java.text.ParseException - Thrown when conversion is not possible or a parsing error occurs.
      • getTemplate

        public java.lang.String getTemplate​(Facet[] facets)
        Creates a sample or template string for the data to place in XML.
        Specified by:
        getTemplate in interface IBuiltInTypeValue
        Parameters:
        facets - The facets.
        Returns:
        The template string.