|
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 |
public interface AbsoluteTimeSpan
An absolute time span. An absolute time span defines a period of time bounded by a start and stop time.
Instances of Absolute Time Span objects can be created using the following factory style method(s).
AbsoluteTimeSpan object = createAbsoluteTimeSpan
(
startTime,
stopTime);
AbsoluteTimeSpan object = createAbsoluteTimeSpan
(
referencePoint,
startTime,
stopTime);
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 interface oracle.irm.engine.core.time.TimeSpan |
---|
TimeSpan.ReferencePoint |
Method Summary | |
---|---|
Date |
getStartTime() Start time for the time span. |
Date |
getStopTime() Stop time for the time span. |
Methods inherited from interface oracle.irm.engine.core.time.TimeSpan |
---|
getReferencePoint, getStartTime, getStopTime |
Method Detail |
---|
Date getStartTime()
Date getStopTime()
|
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 |