Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-01


oracle.stellent.ridc.common.util
Class ISO8601

java.lang.Object
  extended by oracle.stellent.ridc.common.util.ISO8601


public final class ISO8601
extends java.lang.Object

For parsing dates in ISO-8601 Format. Modified from WebCenter code at http://webcenter.us.oracle.com/WorkplaceLabelServer/LATEST/wpfas/modules/doclib-service/jcr-common-runtime/src/java/oracle/vcr/share/ISO8601.java


Constructor Summary
ISO8601()
           

 

Method Summary
static java.util.Calendar parseISO8601(java.lang.String str)
          Parse str into a date, assuming ISO8601 representation
static java.util.Calendar parseISO8601(java.lang.String str, java.util.TimeZone tz)
          Parse str into a date, assuming ISO8601 representation

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ISO8601

public ISO8601()

Method Detail

parseISO8601

public static java.util.Calendar parseISO8601(java.lang.String str)
                                       throws java.text.ParseException
Parse str into a date, assuming ISO8601 representation
Parameters:
str - the date in ISO8601 string format
Returns:
The Calendar value of the parsed date
Throws:
java.text.ParseException - if the string format is not valid

parseISO8601

public static java.util.Calendar parseISO8601(java.lang.String str,
                                              java.util.TimeZone tz)
                                       throws java.text.ParseException
Parse str into a date, assuming ISO8601 representation
Parameters:
str - the date in ISO8601 string format
tz - the timezone to use if not specified in string
Returns:
The Calendar value of the parsed date
Throws:
java.text.ParseException - if the string format is not valid

Skip navigation links

Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference
11g Release 1 (11.1.1)

E17274-01


Copyright © 2008, 2010, Oracle and/or its affiliates. All rights reserved.