public static enum GitDateFormatter.Format extends Enum<GitDateFormatter.Format>
Enum Constant and Description |
---|
DEFAULT
Git format: Time and original time zone
|
ISO
Git format: ISO 8601 plus time zone
|
LOCAL
Git format: Date and time in local time zone
|
LOCALE
Locale dependent formatting with original time zone
|
LOCALELOCAL
Locale dependent formatting in local time zone
|
RAW
Git format: Seconds size 1970 in UTC plus time zone
|
RELATIVE
Git format: Relative time stamp
|
RFC
Git formt: RFC 2822 plus time zone
|
SHORT
Git format: YYYY-MM-DD
|
Modifier and Type | Method and Description |
---|---|
static GitDateFormatter.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GitDateFormatter.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GitDateFormatter.Format DEFAULT
public static final GitDateFormatter.Format RELATIVE
public static final GitDateFormatter.Format LOCAL
public static final GitDateFormatter.Format ISO
public static final GitDateFormatter.Format RFC
public static final GitDateFormatter.Format SHORT
public static final GitDateFormatter.Format RAW
public static final GitDateFormatter.Format LOCALE
public static final GitDateFormatter.Format LOCALELOCAL
public static GitDateFormatter.Format[] values()
for (GitDateFormatter.Format c : GitDateFormatter.Format.values()) System.out.println(c);
public static GitDateFormatter.Format valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Eclipse JGit Project. All rights reserved.