AntXtras/Svn4Ant-1.1.0

com.idaremedia.svn4ant.helpers
Class ISOFormat

java.lang.Object
  extended bycom.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

Field Summary
static SimpleDateFormat STRICT
          DateTime Format for ISO-8901.
 
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
 

Field Detail

STRICT

public static final SimpleDateFormat STRICT
DateTime Format for ISO-8901. Not safe for use by multiple threads.

Method Detail

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

AntXtras/Svn4Ant-1.1.0

Copyright (c) 2005-2008 Sandbox Software MC. All Rights Reserved.