ch.qos.logback.core.rolling.TimeBasedRollingPolicy or similar
timed-based rolling policies. Given a periodicity type and the current time,
it computes the start of the next interval (i.e. the triggering date).
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| pack-priv static final TimeZone | |
| pack-priv PeriodicityType | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| public PeriodicityType | |
| public static int | |
| public Instant | |
| public Instant | |
| public PeriodicityType | |
| public long | |
| private static Instant | innerGetEndOfNextNthPeriod(Calendar cal, PeriodicityType periodicityType, Instant instant, int numPeriods)
|
| private static Instant | |
| public boolean | |
| public long | |
| public void |
| datePattern | back to summary |
|---|---|
| pack-priv String datePattern | |
| GMT_TIMEZONE | back to summary |
|---|---|
| pack-priv static final TimeZone GMT_TIMEZONE | |
| periodicityType | back to summary |
|---|---|
| pack-priv PeriodicityType periodicityType | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| RollingCalendar | back to summary |
|---|---|
| public RollingCalendar(String datePattern) | |
| RollingCalendar | back to summary |
|---|---|
| public RollingCalendar(String datePattern, TimeZone tz, Locale locale) | |
| collision | back to summary |
|---|---|
| private boolean collision(long delta) | |
| computePeriodicityType | back to summary |
|---|---|
| public PeriodicityType computePeriodicityType() | |
| diffInMonths | back to summary |
|---|---|
| public static int diffInMonths(long startTime, long endTime) | |
| getEndOfNextNthPeriod | back to summary |
|---|---|
| public Instant getEndOfNextNthPeriod(Instant instant, int periods) | |
| getNextTriggeringDate | back to summary |
|---|---|
| public Instant getNextTriggeringDate(Instant instant) | |
| getPeriodicityType | back to summary |
|---|---|
| public PeriodicityType getPeriodicityType() | |
| getStartOfCurrentPeriodWithGMTOffsetCorrection | back to summary |
|---|---|
| public long getStartOfCurrentPeriodWithGMTOffsetCorrection(long now, TimeZone timezone) | |
| innerGetEndOfNextNthPeriod | back to summary |
|---|---|
| private static Instant innerGetEndOfNextNthPeriod(Calendar cal, PeriodicityType periodicityType, Instant instant, int numPeriods) | |
| innerGetEndOfThisPeriod | back to summary |
|---|---|
| private static Instant innerGetEndOfThisPeriod(Calendar cal, PeriodicityType periodicityType, Instant instant) | |
| isCollisionFree | back to summary |
|---|---|
| public boolean isCollisionFree() | |
| periodBarriersCrossed | back to summary |
|---|---|
| public long periodBarriersCrossed(long start, long end) | |
| printPeriodicity | back to summary |
|---|---|
| public void printPeriodicity(ContextAwareBase cab) | |