Loading ...
Sorry, an error occurred while loading the content.

42ISO8601 parser/formatter for Java

Expand Messages
  • pratt@acm.org
    Mar 2, 2000
    • 0 Attachment
      I have not been able to find a package/class for Java that contains a
      parser that can parse a 8601 date/time string.

      The Java SimpleDateFormat will allow you to specify a particular
      format - but not one that recognizes the various 8601 formats. e.g.
      parse "2000-03-01T01:00:00", "2000-03-01", "20000
      301T01:00:00-09:00", etc. without basically doing a complete
      pre-parse.

      Anyone know of a Java class for this? I can't be the first person to
      run into this.

      Thanks,

      Craig Pratt
      pratt@...
    • Show all 2 messages in this topic