|
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.types.core.time.TimeWindow
public class TimeWindow
Time Window type.
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.DayOfWeek Day Of Week enumeration. |
Constructor Summary | |
---|---|
TimeWindow() No argument constructor. |
|
TimeWindow(TimePoint start, TimePoint end, TimeWindow.DayOfWeek day) Constructor. |
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. |
void |
setDay(TimeWindow.DayOfWeek value) Day of the week this time window applies. |
void |
setEnd(TimePoint value) The end time for this time window. |
void |
setStart(TimePoint value) The starting time for this time window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeWindow()
public TimeWindow(TimePoint start, TimePoint end, TimeWindow.DayOfWeek day)
Method Detail |
---|
public TimePoint getStart()
public void setStart(TimePoint value)
value
- the new value for the property.public TimePoint getEnd()
public void setEnd(TimePoint value)
value
- the new value for the property.public TimeWindow.DayOfWeek getDay()
public void setDay(TimeWindow.DayOfWeek value)
value
- the new value for the property.
|
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 |