|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ephox.date.DateUtils
public class DateUtils
Provides access to the date formatting functions EditLive! uses, allowing plugins to use the same format.
Method Summary | |
---|---|
static String |
getReadableDate(Date date)
Format a Date object into a human readable string using the locale default formatter. |
static String |
getXMLDate(Date date)
Format a Date object into a string using the format yyyy-MM-dd'T'HH:mm:ssZ . |
static Date |
parseXMLDate(String string)
Parse a String into a Date object using the format yyyy-MM-dd'T'HH:mm:ssZ . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getReadableDate(Date date)
public static String getXMLDate(Date date)
yyyy-MM-dd'T'HH:mm:ssZ
.
public static Date parseXMLDate(String string)
yyyy-MM-dd'T'HH:mm:ssZ
.
|
Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |