7.0 Action Request System Java API

com.remedy.arsys.api
Class Time

java.lang.Object
  extended bycom.remedy.arsys.api.Time
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class Time
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

The Time class represents the time elapsed since midnight.

See Also:
Serialized Form

Constructor Summary
Time()
          constructor
Time(long l)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self.
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality of Time.
 long getValue()
          Returns the number of seconds since midnight.
 void setValue(long l)
          Sets the number of seconds for the time (in long integer format).
 void setValue(Time tm)
          Sets the time to the the given time.
 java.lang.String toString()
          Returns a string description of the time.
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Time

public Time()
constructor


Time

public Time(long l)
Method Detail

setValue

public void setValue(long l)
Sets the number of seconds for the time (in long integer format).


setValue

public void setValue(Time tm)
Sets the time to the the given time.


getValue

public long getValue()
Returns the number of seconds since midnight.


toString

public java.lang.String toString()
Returns a string description of the time.


equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality of Time. The result is true only if the argument is not null and is a Time object that represents the same content.


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self.

Throws:
java.lang.CloneNotSupportedException

7.0 Action Request System Java API