Package | Description |
---|---|
org.apache.logging.log4j.core.util.datetime |
Log4j 2 date formatting classes.
|
Modifier and Type | Method and Description |
---|---|
static FixedDateFormat.FixedFormat |
FixedDateFormat.FixedFormat.lookup(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(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,
TimeZone tz)
Returns a new
FixedDateFormat object for the specified FixedFormat and TimeZone. |
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.