|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.core.time.RelativeTimeSpanFactory
public final class RelativeTimeSpanFactory
Relative Time Span factory. This class provides methods for creating new instances of RelativeTimeSpan
objects.
Method Summary | |
---|---|
static RelativeTimeSpan |
createRelativeTimeSpan(RelativeTimeSpan.TimeBase timeBase, TimePeriod startTime, TimePeriod stopTime) Create an relative time span for a specified start and stop time. |
static RelativeTimeSpan |
createRelativeTimeSpan(TimeSpan.ReferencePoint referencePoint, RelativeTimeSpan.TimeBase timeBase, TimePeriod startTime, TimePeriod stopTime) Create an relative time span for a specified start and stop time. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RelativeTimeSpan createRelativeTimeSpan(RelativeTimeSpan.TimeBase timeBase, TimePeriod startTime, TimePeriod stopTime)
timeBase
- the base to compare the relative time comparison. e.g. relative to classification time.startTime
- the start time period. e.g. 30 minutes. This parameter is optional, it is valid to pass null.stopTime
- the stop time period. e.g. 20 hours. This parameter is optional, it is valid to pass null.public static RelativeTimeSpan createRelativeTimeSpan(TimeSpan.ReferencePoint referencePoint, RelativeTimeSpan.TimeBase timeBase, TimePeriod startTime, TimePeriod stopTime)
referencePoint
- time reference point. e.g. compare against current time.timeBase
- the base to compare the relative time comparison. e.g. relative to classification time.startTime
- the start time period. e.g. 30 minutes. This parameter is optional, it is valid to pass null.stopTime
- the stop time period. e.g. 20 hours. This parameter is optional, it is valid to pass null.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |