Skip navigation links


com.essbase.eas.essbase.api.core
Class TimeRecord

java.lang.Object
  extended by com.essbase.eas.essbase.api.core.TimeRecord


public class TimeRecord
extends java.lang.Object

This class maps to the functional API database server time structure. In the C API this is the ESS_TIMERECORD_T structure

Version:
1.0, 11/20/2000
Author:
Kenneth Lau

Constructor Summary
TimeRecord()
           
TimeRecord(java.util.Calendar cal)
           
TimeRecord(long time, short sec, short min, short hr, short day, short mon, short yr, short wkday)
           

 

Method Summary
 short getDay()
           
 short getHours()
           
 short getMinutes()
           
 short getMonth()
           
 short getSeconds()
           
 long getTimeValue()
           
 short getWeekday()
           
 short getYear()
           
 void setDay(short day)
           
 void setHours(short hr)
           
 void setMinutes(short min)
           
 void setMonth(short mon)
           
 void setSeconds(short sec)
           
 void setTimeValue(long time)
           
 void setWeekday(short wkday)
           
 void setYear(short yr)
           
 java.lang.String toElapsedTimeString()
          Deprecated. use ElapsedTimeLabel
 java.lang.String toStartTimeString()
           
 java.lang.String toString()
           

 

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

 

Constructor Detail

TimeRecord

public TimeRecord()

TimeRecord

public TimeRecord(java.util.Calendar cal)

TimeRecord

public TimeRecord(long time,
                  short sec,
                  short min,
                  short hr,
                  short day,
                  short mon,
                  short yr,
                  short wkday)

Method Detail

setTimeValue

public void setTimeValue(long time)

getTimeValue

public long getTimeValue()

setSeconds

public void setSeconds(short sec)

getSeconds

public short getSeconds()

setMinutes

public void setMinutes(short min)

getMinutes

public short getMinutes()

setHours

public void setHours(short hr)

getHours

public short getHours()

setDay

public void setDay(short day)

getDay

public short getDay()

setMonth

public void setMonth(short mon)

getMonth

public short getMonth()

setYear

public void setYear(short yr)

getYear

public short getYear()

setWeekday

public void setWeekday(short wkday)

getWeekday

public short getWeekday()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toElapsedTimeString

public java.lang.String toElapsedTimeString()
Deprecated. use ElapsedTimeLabel
Returns:
a formatted elapsed time string

toStartTimeString

public java.lang.String toStartTimeString()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.