Package | Description |
---|---|
org.apache.logging.log4j.core.util.datetime |
Log4j 2 date formatting classes.
|
Modifier and Type | Field and Description |
---|---|
private FixedDateFormat.FixedFormat |
FixedDateFormat.fixedFormat |
Modifier and Type | Method and Description |
---|---|
static FixedDateFormat.FixedFormat |
FixedDateFormat.FixedFormat.lookup(java.lang.String nameOrPattern)
Returns the FixedFormat with the name or pattern matching the specified string or
null if not found. |
static FixedDateFormat.FixedFormat |
FixedDateFormat.FixedFormat.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FixedDateFormat.FixedFormat[] |
FixedDateFormat.FixedFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static FixedDateFormat |
FixedDateFormat.create(FixedDateFormat.FixedFormat format)
Returns a new
FixedDateFormat object for the specified FixedFormat and a TimeZone.getDefault() TimeZone. |
static FixedDateFormat |
FixedDateFormat.create(FixedDateFormat.FixedFormat format,
java.util.TimeZone tz)
Returns a new
FixedDateFormat object for the specified FixedFormat and TimeZone. |
Constructor and Description |
---|
FixedDateFormat(FixedDateFormat.FixedFormat fixedFormat,
java.util.TimeZone tz)
Constructs a FixedDateFormat for the specified fixed format.
|