com.idaremedia.svn4ant.helpers
Class ISOFormat
java.lang.Object
com.idaremedia.svn4ant.helpers.ISOFormat
- public final class ISOFormat
- extends Object
Format of ISO8601 datetime. Can be used safely as a filesystem directory name.
- Since:
- JWare/Svn4Ant 1.1
- Author:
- ssmc, ©2007 SSMC
- Thread Safety:
- guarded
- [Impl Note]:
- Replace with DurationFormat.isoformat in AntX 0.9
|
Method Summary |
static String |
get(long tm)
Converts the incoming timestamp to the ISO-8901 formatted string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STRICT
public static final SimpleDateFormat STRICT
- DateTime Format for ISO-8901. Not safe for use by multiple threads.
get
public static String get(long tm)
- Converts the incoming timestamp to the ISO-8901 formatted string.
- Parameters:
tm - timestamp in milliseconds
- Returns:
- the ISO-8901 formatted string
Copyright (c) 2005-2008 Sandbox Software MC. All Rights Reserved.