|
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.TimeRangeFactory
public final class TimeRangeFactory
Time Range factory. This class provides methods for creating new instances of TimeRange
objects.
Method Summary | |
---|---|
static TimeRange |
createTimeRange(Date begin, Date end) Create a time range. |
static TimeRange |
createTimeRange(Date date, TimeRange.Direction direction, TimeRange.Interval interval, int size) Create a time range using a time interval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TimeRange createTimeRange(Date begin, Date end)
begin
- start of the time range. e.g. 17 August 2007 10:34.end
- end of the time range. e.g. 23 November 2008 14:45.public static TimeRange createTimeRange(Date date, TimeRange.Direction direction, TimeRange.Interval interval, int size)
date
- reference date.direction
- time direction.interval
- interval.size
- interval size.
|
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 |