Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

Collaboration diagram for alma::acs::util::IsoDateFormat:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IsoDateFormat ()

Static Public Member Functions

String formatDate (Date date)
String formatCurrentDate ()

Static Public Attributes

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

Static Private Attributes

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]
 


Member Function Documentation

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

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

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)


Member Data Documentation

final IsoDateFormat alma::acs::util::IsoDateFormat::instance = new IsoDateFormat() [static, private]
 

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


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:54:36 2009 for ACS Java API by doxygen 1.3.8