public abstract class CommitTimeRevFilter extends RevFilter
ALL, MERGE_BASE, NO_MERGES, NONE
Modifier and Type | Method and Description |
---|---|
static RevFilter |
after(Date ts)
Create a new filter to select commits after a given date/time.
|
static RevFilter |
after(long ts)
Create a new filter to select commits after a given date/time.
|
static RevFilter |
before(Date ts)
Create a new filter to select commits before a given date/time.
|
static RevFilter |
before(long ts)
Create a new filter to select commits before a given date/time.
|
static RevFilter |
between(Date since,
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 . |
static RevFilter |
between(long since,
long 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.
|
boolean |
requiresCommitBody() |
public static final RevFilter before(Date ts)
ts
- the point in time to cut on.ts
.public static final RevFilter before(long ts)
ts
- the point in time to cut on, in millisecondsts
.public static final RevFilter after(Date ts)
ts
- the point in time to cut on.ts
.public static final RevFilter after(long ts)
ts
- the point in time to cut on, in milliseconds.ts
.public static final RevFilter between(Date since, 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 static final RevFilter between(long since, long until)
since
and before or equal a given date/time until
.since
- the point in time to cut on, in milliseconds.until
- the point in time to cut off, in millisconds.public RevFilter clone()
RevFilter
This 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.
public boolean requiresCommitBody()
requiresCommitBody
in class RevFilter
Copyright © 2015 Eclipse JGit Project. All rights reserved.