|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
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.TimeSpan
oracle.irm.engine.types.core.time.AbsoluteTimeSpan
public class AbsoluteTimeSpan
Absolute Time Span type. An absolute time span defines a period of time bounded by a start and stop time.
Absolute Time Span instances can be serialized as an XML document. This XML document can also be used to recreate a Absolute Time Span object. The following XML document shows an example Absolute Time Span in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:AbsoluteTimeSpan xmlns:core="http://xmlns.oracle.com/irm/core">
<referencePoint>CURRENT</referencePoint>
<startTime>2007-01-01T12:00:00.000+01:00</startTime>
<stopTime>2007-01-01T13:00:00.000+01:00</stopTime>
</core:AbsoluteTimeSpan>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.irm.engine.types.core.time.TimeSpan |
---|
TimeSpan.ReferencePoint |
Constructor Summary | |
---|---|
AbsoluteTimeSpan() No argument constructor. |
|
AbsoluteTimeSpan(TimeSpan.ReferencePoint referencePoint, Date startTime, Date stopTime) Constructor. |
Method Summary | |
---|---|
Date |
getStartTime() Start time for the time span. |
Date |
getStopTime() Stop time for the time span. |
void |
setStartTime(Date value) Start time for the time span. |
void |
setStopTime(Date value) Stop time for the time span. |
Methods inherited from class oracle.irm.engine.types.core.time.TimeSpan |
---|
getReferencePoint, setReferencePoint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbsoluteTimeSpan()
public AbsoluteTimeSpan(TimeSpan.ReferencePoint referencePoint, Date startTime, Date stopTime)
Method Detail |
---|
public Date getStartTime()
public void setStartTime(Date value)
value
- the new value for the property.public Date getStopTime()
public void setStopTime(Date value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |