public class GitDateFormatter extends Object
The enum GitDateFormatter.Format
defines the
available types.
Modifier and Type | Class and Description |
---|---|
static class |
GitDateFormatter.Format
Git and JGit formats
|
Constructor and Description |
---|
GitDateFormatter(GitDateFormatter.Format format)
Create a new Git oriented date formatter
|
Modifier and Type | Method and Description |
---|---|
String |
formatDate(PersonIdent ident)
Format committer, author or tagger ident according to this formatter's
specification.
|
public GitDateFormatter(GitDateFormatter.Format format)
format
- a GitDateFormatter.Format
object.public String formatDate(PersonIdent ident)
ident
- a PersonIdent
object.Copyright © 2019 Eclipse JGit Project. All rights reserved.