Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.types.core.time
Class TimePoint

java.lang.Object
  extended by oracle.irm.engine.types.core.time.TimePoint

All Implemented Interfaces:
Serializable

public class TimePoint
extends Object
implements Serializable

Time Point type.

XML Serialization

Time Point instances can be serialized as an XML document. This XML document can also be used to recreate a Time Point object. The following XML document shows an example Time Point in XML form.

<?xml version="1.0" encoding="UTF-8"?>
<core:TimePoint xmlns:core="http://xmlns.oracle.com/irm/core">
    <hour>12</hour>
    <minute>30</minute>
</core:TimePoint>

See Also:
Serialized Form

Constructor Summary
TimePoint()
          No argument constructor.
TimePoint(short hour, short minute)
          Constructor.

 

Method Summary
 short getHour()
          Hour of the day.
 short getMinute()
          Minute in the hour.
 void setHour(short value)
          Hour of the day.
 void setMinute(short value)
          Minute in the hour.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

TimePoint

public TimePoint()
No argument constructor.

TimePoint

public TimePoint(short hour,
                 short minute)
Constructor.

Method Detail

getHour

public short getHour()
Hour of the day. Valid values are 0-24.
Returns:
the value of the property.

setHour

public void setHour(short value)
Hour of the day. Valid values are 0-24.
Parameters:
value - the new value for the property.

getMinute

public short getMinute()
Minute in the hour. Valid values are 0-59.
Returns:
the value of the property.

setMinute

public void setMinute(short value)
Minute in the hour. Valid values are 0-59.
Parameters:
value - the new value for the property.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.