alma::acs::util::IsoDateFormat Class Reference

Inheritance diagram for alma::acs::util::IsoDateFormat:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::util::IsoDateFormat:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 IsoDateFormat ()

Static Public Member Functions

static String formatDate (Date date)
static String formatCurrentDate ()

Static Public Attributes

static final String pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS"

Static Private Attributes

static final IsoDateFormat instance = new IsoDateFormat()

Detailed Description

ISO 8601 date format.

http://jira.alma.cl/browse/COMP-1929 made it clear that we use the same format string all over ACS, and that there should be this class to encapsulate it.

Author:
hsommer

Constructor & Destructor Documentation

alma::acs::util::IsoDateFormat::IsoDateFormat (  )  [inline]

References pattern.


Member Function Documentation

static String alma::acs::util::IsoDateFormat::formatCurrentDate (  )  [inline, static]

Convenience method that works with a shared instance of this class.

References formatDate().

static String alma::acs::util::IsoDateFormat::formatDate ( Date  date  )  [inline, static]

Convenience method that works with a shared instance of this class.

See also:
DateFormat::format(Date)

References instance.

Referenced by formatCurrentDate().


Member Data Documentation

Referenced by formatDate().

final String alma::acs::util::IsoDateFormat::pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS" [static]

Referenced by IsoDateFormat().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2