fr.gouv.culture.oai.util
Class OAIUtilities.Date

java.lang.Object
  extended by fr.gouv.culture.oai.util.OAIUtilities.Date
Enclosing class:
OAIUtilities

public static class OAIUtilities.Date
extends java.lang.Object


Constructor Summary
OAIUtilities.Date()
           
 
Method Summary
static java.lang.String formatDate(java.util.Date date)
           
static java.lang.String formatDate(java.util.Date date, java.lang.String format)
          Formats a date according to the specified format.
static java.lang.String formatUtcISO8601Date(java.util.Date date)
           
static java.util.Date getUtcIso8601Date()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAIUtilities.Date

public OAIUtilities.Date()
Method Detail

formatDate

public static java.lang.String formatDate(java.util.Date date)

formatUtcISO8601Date

public static java.lang.String formatUtcISO8601Date(java.util.Date date)

getUtcIso8601Date

public static java.util.Date getUtcIso8601Date()

formatDate

public static java.lang.String formatDate(java.util.Date date,
                                          java.lang.String format)
Formats a date according to the specified format.

Parameters:
date - The date to format.
format - The desired format.
Returns:
The formated date.


Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.