Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.birt.core.data
Class DateFormatISO8601

    java.lang.Object
      org.eclipse.birt.core.data.DateFormatISO8601

    public class DateFormatISO8601

extends java.lang.Object

DateFormatISO8601 is a utility class for formatting and parsing dates according to date format defined by ISO8601.

Constructor Summary
`DateFormatISO8601()`

Method Summary
`static java.lang.String` | `format(java.util.Date date)` Parse a date/time string.
`static java.util.Date` | `parse(java.lang.String source, com.ibm.icu.util.TimeZone timeZone)` Parse a date/time string.

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

Constructor Detail

### DateFormatISO8601

    public DateFormatISO8601()

Method Detail

### parse

    public static java.util.Date parse(java.lang.String source,
                                       com.ibm.icu.util.TimeZone timeZone)
                                throws BirtException,
                                       java.text.ParseException

  Parse a date/time string.

  Parameters:
    `source` -
  Returns:
  Throws:
    `java.text.ParseException`
    `BirtException`

### format

    public static java.lang.String format(java.util.Date date)
                                   throws BirtException

  Parse a date/time string.

  Parameters:
    `source` -
  Returns:
  Throws:
    `java.text.ParseException`
    `BirtException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.