OracleAS Syndication Services API Reference
10g (9.0.4)

Part No. B10399-01

oracle.syndicate.util.date
Class ISOTime

java.lang.Object
  |
  +--oracle.syndicate.util.date.ISOTime
All Implemented Interfaces:
java.io.Serializable

public class ISOTime
extends java.lang.Object
implements java.io.Serializable

Conform to ISO8601, convert a ISO8601 specified Time (hh:mm:ss) object into String or the other way around

See Also:
Serialized Form

Field Summary
protected  int m_iHr
           
protected  int m_iMinute
           
protected  int m_iSec
           
protected  int m_iSubSeconds
           

 

Constructor Summary
ISOTime()
           
ISOTime(int hours, int minutes, int seconds, int subSeconds)
           

 

Method Summary
 int getHours()
           
static ISOTime getLocalISOTime(ISODateTime utcDate, ISOTime utcTime)
           
 int getMinutes()
           
 int getSeconds()
           
 int getSubSeconds()
           
static ISOTime getUTCISOTime(ISODateTime localDate, ISOTime localTime)
           
 boolean hasSubSeconds()
           
static void main(java.lang.String[] args)
           
static ISOTime parseTime(java.lang.String szISOTime)
           
static ISOTime parseTimeStamp(java.sql.Timestamp jts)
           
 void setHours(int hours)
           
 void setMinutes(int minutes)
           
 void setSeconds(int seconds)
           
 void setSubSeconds(int subSeconds)
           
 java.lang.String toString()
           

 

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

 

Field Detail

m_iHr

protected int m_iHr

m_iMinute

protected int m_iMinute

m_iSec

protected int m_iSec

m_iSubSeconds

protected int m_iSubSeconds
Constructor Detail

ISOTime

public ISOTime(int hours,
               int minutes,
               int seconds,
               int subSeconds)

ISOTime

public ISOTime()
Method Detail

parseTime

public static ISOTime parseTime(java.lang.String szISOTime)

parseTimeStamp

public static ISOTime parseTimeStamp(java.sql.Timestamp jts)

getHours

public int getHours()

getMinutes

public int getMinutes()

getSeconds

public int getSeconds()

getSubSeconds

public int getSubSeconds()

setHours

public void setHours(int hours)

setMinutes

public void setMinutes(int minutes)

setSeconds

public void setSeconds(int seconds)

hasSubSeconds

public boolean hasSubSeconds()

setSubSeconds

public void setSubSeconds(int subSeconds)

toString

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

getUTCISOTime

public static ISOTime getUTCISOTime(ISODateTime localDate,
ISOTime localTime)

getLocalISOTime

public static ISOTime getLocalISOTime(ISODateTime utcDate,
ISOTime utcTime)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

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

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