Class GitDateFormatter

  • public class GitDateFormatter
    extends Object
    A utility for formatting dates according to the Git formats plus extensions.

    The enum GitDateFormatter.Format defines the available types.

    • Method Detail

      • formatDate

        public String formatDate​(PersonIdent ident)
        Format committer, author or tagger ident according to this formatter's specification.
        ident - a PersonIdent object.
        formatted version of date, time and time zone