Constructor and Description |
---|
SHORT() |
Modifier and Type | Method and Description |
---|---|
static String |
format(Calendar cal) |
static String |
format(Clock clock) |
static String |
format(Date date) |
static String |
format(Date date,
int tzOffsetInSeconds) |
static String |
format(long millisSinceEpoch) |
static String |
format(long millisSinceEpoch,
int tzOffsetInSeconds) |
public static String format(Date date) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(Date)
public static String format(Clock clock) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(Clock)
public static String format(long millisSinceEpoch) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(long)
public static String format(Date date, int tzOffsetInSeconds) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(Date, int)
public static String format(long millisSinceEpoch, int tzOffsetInSeconds) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(long, int)
public static String format(Calendar cal) throws IllegalArgumentException
IllegalArgumentException
ISO8601.format(Calendar)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.