public class RelativeDateFormatter extends Object
git log --relative-date
.Constructor and Description |
---|
RelativeDateFormatter() |
Modifier and Type | Method and Description |
---|---|
static String |
format(Date when)
Get age of given
Date compared to now formatted in the
same relative format as returned by git log --relative-date |
Copyright © 2020 Eclipse JGit Project. All rights reserved.