Class DateTime

  • All Implemented Interfaces:
    Value

    public class DateTime
    extends Scalar
    Version:
    $Revision$
    Author:
    pramirez, jagander
    • Constructor Detail

      • DateTime

        public DateTime​(Label label,
                        String value,
                        int lineNumber)
                 throws LabelParserException
        Parameters:
        value - represented as a string which is in a PDS compatible format
        lineNumber - in which this value was found
        Throws:
        LabelParserException
      • DateTime

        public DateTime​(Label label,
                        String value,
                        int lineNumber,
                        boolean lenient)
                 throws LabelParserException
        Parameters:
        value - represented as a string which is in a PDS compatible format
        lineNumber - in which this value was found
        lenient - a flag to indicate how to parse the date
        Throws:
        LabelParserException
      • DateTime

        public DateTime​(Date date)