Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.core.time
Class TimeWindowFactory

java.lang.Object
  extended by oracle.irm.engine.core.time.TimeWindowFactory


public final class TimeWindowFactory
extends Object

Time Window factory. This class provides methods for creating new instances of TimeWindow objects.


Method Summary
static TimeWindow createTimeWindow(TimePoint start, TimePoint end, TimeWindow.DayOfWeek day)
          Create a time window, by specifying the day, the start time and the end time.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createTimeWindow

public static TimeWindow createTimeWindow(TimePoint start,
                                          TimePoint end,
                                          TimeWindow.DayOfWeek day)
Create a time window, by specifying the day, the start time and the end time.
Parameters:
start - start of the time window. e.g. 10:00.
end - end of the time window. e.g. 14:34.
day - the day. e.g. Monday.
Returns:
a new Time Window instance.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.