public class TimePartition extends Object implements Comparable<TimePartition>, Named
Modifier and Type | Method and Description |
---|---|
boolean |
after(TimePartition when) |
boolean |
before(TimePartition when) |
int |
compareTo(TimePartition o) |
TimePartitionRange |
emptyRange() |
boolean |
equals(Object o) |
Date |
getDate() |
String |
getDateString() |
String |
getName() |
UpdatePeriod |
getUpdatePeriod() |
int |
hashCode() |
static TimePartition |
max(TimePartition p1,
TimePartition p2) |
static TimePartition |
min(TimePartition p1,
TimePartition p2) |
TimePartition |
next() |
static TimePartition |
of(UpdatePeriod updatePeriod,
Date date) |
static TimePartition |
of(UpdatePeriod updatePeriod,
String dateString) |
TimePartition |
partitionAtDiff(int increment) |
TimePartition |
previous() |
TimePartitionRange |
rangeFrom(TimePartition from) |
TimePartitionRange |
rangeUpto(TimePartition to) |
TimePartitionRange |
singletonRange() |
String |
toString() |
TimePartition |
withUpdatePeriod(UpdatePeriod period) |
public static TimePartition of(UpdatePeriod updatePeriod, Date date) throws LensException
LensException
public static TimePartition of(UpdatePeriod updatePeriod, String dateString) throws LensException
LensException
public TimePartition withUpdatePeriod(UpdatePeriod period) throws LensException
LensException
public int compareTo(TimePartition o)
compareTo
in interface Comparable<TimePartition>
public TimePartition partitionAtDiff(int increment)
public TimePartition previous()
public TimePartition next()
public boolean before(TimePartition when)
public boolean after(TimePartition when)
public TimePartitionRange rangeUpto(TimePartition to) throws LensException
LensException
public TimePartitionRange rangeFrom(TimePartition from) throws LensException
LensException
public TimePartitionRange singletonRange() throws LensException
LensException
public TimePartitionRange emptyRange() throws LensException
LensException
public static TimePartition max(TimePartition p1, TimePartition p2)
public static TimePartition min(TimePartition p1, TimePartition p2)
@Generated(value="lombok") public UpdatePeriod getUpdatePeriod()
@Generated(value="lombok") public Date getDate()
@Generated(value="lombok") public String getDateString()
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.