The enum org. defines the
available types.
| Modifier and Type | Class and Description |
|---|---|
| public static enum | GitDateFormatter.
Git and JGit formats |
| Modifier and Type | Field and Description |
|---|---|
| private DateTimeFormatter | |
| private DateTimeFormatter | |
| private final GitDateFormatter. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: formatted version of date, time and time zonea ident)org. object.Format committer, author or tagger ident according to this formatter's specification. |
| dateTimeFormat | back to summary |
|---|---|
| private DateTimeFormatter dateTimeFormat | |
| dateTimeFormat2 | back to summary |
|---|---|
| private DateTimeFormatter dateTimeFormat2 | |
| format | back to summary |
|---|---|
| private final GitDateFormatter. | |
| GitDateFormatter | back to summary |
|---|---|
| public GitDateFormatter(GitDateFormatter. Create a new Git oriented date formatter
| |
| formatDate | back to summary |
|---|---|
| public String formatDate(PersonIdent ident) Format committer, author or tagger ident according to this formatter's specification.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final GitDateFormatter. | DEFAULT
Git format: Time and original time zone |
| public static final GitDateFormatter. | ISO
Git format: ISO 8601 plus time zone |
| public static final GitDateFormatter. | LOCAL
Git format: Date and time in local time zone |
| public static final GitDateFormatter. | LOCALE
Locale dependent formatting with original time zone |
| public static final GitDateFormatter. | LOCALELOCAL
Locale dependent formatting in local time zone |
| public static final GitDateFormatter. | RAW
Git format: Seconds size 1970 in UTC plus time zone |
| public static final GitDateFormatter. | RELATIVE
Git format: Relative time stamp |
| public static final GitDateFormatter. | RFC
Git formt: RFC 2822 plus time zone |
| public static final GitDateFormatter. | SHORT
Git format: YYYY-MM-DD |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GitDateFormatter. | |
| public static GitDateFormatter. |
| DEFAULT | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: Time and original time zone | |
| ISO | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: ISO 8601 plus time zone | |
| LOCAL | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: Date and time in local time zone | |
| LOCALE | back to summary |
|---|---|
| public static final GitDateFormatter. Locale dependent formatting with original time zone | |
| LOCALELOCAL | back to summary |
|---|---|
| public static final GitDateFormatter. Locale dependent formatting in local time zone | |
| RAW | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: Seconds size 1970 in UTC plus time zone | |
| RELATIVE | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: Relative time stamp | |
| RFC | back to summary |
|---|---|
| public static final GitDateFormatter. Git formt: RFC 2822 plus time zone | |
| SHORT | back to summary |
|---|---|
| public static final GitDateFormatter. Git format: YYYY-MM-DD | |
| Format | back to summary |
|---|---|
| private Format() | |
| valueOf | back to summary |
|---|---|
| public static GitDateFormatter. | |
| values | back to summary |
|---|---|
| public static GitDateFormatter. | |