@Internal public abstract class TimestampTransform extends java.lang.Object implements java.io.Serializable
An abstract description of a standardized transformation on timestamps.
Modifier and Type | Class and Description |
---|---|
static class |
TimestampTransform.AlignTo
For internal use only; no backwards-compatibility guarantees.
|
static class |
TimestampTransform.Delay
For internal use only; no backwards-compatibility guarantees.
|
Modifier and Type | Method and Description |
---|---|
static TimestampTransform |
alignTo(org.joda.time.Duration period)
For internal use only; no backwards-compatibility guarantees.
|
static TimestampTransform |
alignTo(org.joda.time.Duration period,
org.joda.time.Instant offset)
For internal use only; no backwards-compatibility guarantees.
|
static TimestampTransform |
delay(org.joda.time.Duration delay)
For internal use only; no backwards-compatibility guarantees.
|
@Internal public static TimestampTransform delay(org.joda.time.Duration delay)
Returns a transform that shifts a timestamp later by delay
.
@Internal public static TimestampTransform alignTo(org.joda.time.Duration period, org.joda.time.Instant offset)
Returns a transform that aligns a timestamp to the next boundary of period
, starting
from offset
.
@Internal public static TimestampTransform alignTo(org.joda.time.Duration period)
Returns a transform that aligns a timestamp to the next boundary of period
, starting
from the start of the epoch.