|
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 | |||||||||
public interface TimeWindow
A window of time on a specified day of the week.
Instances of Time Window objects can be created using the following factory style method(s).
TimeWindow object = createTimeWindow(
start,
end,
day);
Collections for TimeWindow objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing TimeWindow elements.
Collection<TimeWindow> object =createTimeWindows();
Time Window instances can be serialized as an XML document. This XML document can also be used to recreate a Time Window object. The following XML document shows an example Time Window in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:TimeWindow xmlns:core="http://xmlns.oracle.com/irm/core">
<day>MONDAY</day>
<start>
<hour>9</hour>
<minute>30</minute>
</start>
<end>
<hour>18</hour>
<minute>0</minute>
</end>
</core:TimeWindow>
| Nested Class Summary | |
|---|---|
static class |
TimeWindow.DayOfWeekDays of the week. |
| Method Summary | |
|---|---|
TimeWindow.DayOfWeek |
getDay()Day of the week this time window applies. |
TimePoint |
getEnd()The end time for this time window. |
TimePoint |
getStart()The starting time for this time window. |
| Method Detail |
|---|
TimePoint getStart()
TimePoint getEnd()
TimeWindow.DayOfWeek getDay()
|
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 | |||||||||