java.lang.Object
org.eclipse.jgit.util.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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new Git oriented date formatter -
Method Summary
Modifier and TypeMethodDescriptionformatDate(PersonIdent ident) Format committer, author or tagger ident according to this formatter's specification.
-
Constructor Details
-
GitDateFormatter
Create a new Git oriented date formatter- Parameters:
format- aGitDateFormatter.Formatobject.
-
-
Method Details
-
formatDate
Format committer, author or tagger ident according to this formatter's specification.- Parameters:
ident- aPersonIdentobject.- Returns:
- formatted version of date, time and time zone
-