|
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.TimeSpan
public abstract class TimeSpan
Time Span type. A time span can have an optional start and stop time and a flexible time reference point.
Time Span instances can be serialized as an XML document. This XML document can also be used to recreate a Time Span object. The following XML document shows an example 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 | |
---|---|
static class |
TimeSpan.ReferencePoint Reference Point enumeration. |
Constructor Summary | |
---|---|
TimeSpan() No argument constructor. |
|
TimeSpan(TimeSpan.ReferencePoint referencePoint) Constructor. |
Method Summary | |
---|---|
TimeSpan.ReferencePoint |
getReferencePoint() The reference point for a time span. |
void |
setReferencePoint(TimeSpan.ReferencePoint value) The reference point for a time span. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeSpan()
public TimeSpan(TimeSpan.ReferencePoint referencePoint)
Method Detail |
---|
public TimeSpan.ReferencePoint getReferencePoint()
public void setReferencePoint(TimeSpan.ReferencePoint 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 |