|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GitDateFormatter.Format> org.eclipse.jgit.util.GitDateFormatter.Format
public static enum GitDateFormatter.Format
Git and JGit formats
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |