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 String
format(long millisSinceEpoch)
static String
format(long millisSinceEpoch, int tzOffsetInSeconds)
static String
format(Clock clock)
static String
format(Calendar cal)
static String
format(Date date)
static String
format(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)
-
-