|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.util.GitDateFormatter
public class GitDateFormatter
A utility for formatting dates according to the Git log.date formats plus extensions.
The enum GitDateFormatter.Format
defines the available types.
Nested Class Summary | |
---|---|
static class |
GitDateFormatter.Format
Git and JGit formats |
Constructor Summary | |
---|---|
GitDateFormatter(GitDateFormatter.Format format)
Create a new Git oriented date formatter |
Method Summary | |
---|---|
java.lang.String |
formatDate(PersonIdent ident)
Format committer, author or tagger ident according to this formatter's specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GitDateFormatter(GitDateFormatter.Format format)
format
- Method Detail |
---|
public java.lang.String formatDate(PersonIdent ident)
ident
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |