Package org.apache.jackrabbit.util
Class ISO8601.SHORT
- java.lang.Object
-
- org.apache.jackrabbit.util.ISO8601.SHORT
-
-
Constructor Summary
Constructors Constructor Description SHORT()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringformat(long millisSinceEpoch)static Stringformat(long millisSinceEpoch, int tzOffsetInSeconds)static Stringformat(Clock clock)static Stringformat(Calendar cal)static Stringformat(Date date)static Stringformat(Date date, int tzOffsetInSeconds)
-
-
-
Method Detail
-
format
public static String format(Date date) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(Date)
-
format
public static String format(Clock clock) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(Clock)
-
format
public static String format(long millisSinceEpoch) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(long)
-
format
public static String format(Date date, int tzOffsetInSeconds) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(Date, int)
-
format
public static String format(long millisSinceEpoch, int tzOffsetInSeconds) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(long, int)
-
format
public static String format(Calendar cal) throws IllegalArgumentException
- Throws:
IllegalArgumentException- See Also:
ISO8601.format(Calendar)
-
-