|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.revwalk.filter.RevFilter
org.eclipse.jgit.revwalk.filter.CommitTimeRevFilter
public abstract class CommitTimeRevFilter
Selects commits based upon the commit time field.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
ALL, MERGE_BASE, NO_MERGES, NONE |
| Method Summary | |
|---|---|
static RevFilter |
after(java.util.Date ts)
Create a new filter to select commits after a given date/time. |
static RevFilter |
before(java.util.Date ts)
Create a new filter to select commits before a given date/time. |
static RevFilter |
between(java.util.Date since,
java.util.Date until)
Create a new filter to select commits after or equal a given date/time since
and before or equal a given date/time until. |
RevFilter |
clone()
Clone this revision filter, including its parameters. |
| Methods inherited from class org.eclipse.jgit.revwalk.filter.RevFilter |
|---|
include, negate, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static final RevFilter before(java.util.Date ts)
ts - the point in time to cut on.
ts.public static final RevFilter after(java.util.Date ts)
ts - the point in time to cut on.
ts.
public static final RevFilter between(java.util.Date since,
java.util.Date until)
since
and before or equal a given date/time until.
since - the point in time to cut on.until - the point in time to cut off.
public RevFilter clone()
RevFilterThis is a deep clone. If this filter embeds objects or other filters it must also clone those, to ensure the instances do not share mutable data.
clone in class RevFilter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||