Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adfnmc.java.sql
Class Time

java.lang.Object
  extended by java.util.Date
      extended by oracle.adfnmc.java.sql.BaseTime
          extended by oracle.adfnmc.java.sql.Time
All Implemented Interfaces:
Comparable

public class Time
extends BaseTime

Java representation of an SQL TIME value. Provides functions to aid generation and interpretation of JDBC escape format for time values.


Field Summary
static java.lang.Class CLASS_INSTANCE
           
static java.lang.String CLASS_INSTANCE_NAME
           
 
Constructor Summary
Time(long theTime)
          Constructs a Time object using a supplied time specified in milliseconds
 
Method Summary
 int getDate()
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Date component.
 int getDay()
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Day component.
 int getMonth()
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Month component.
 int getYear()
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Year component.
 void setDate(int i)
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Date component.
 void setMonth(int i)
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Month component.
 void setYear(int i)
          Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Year component.
static Time valueOf(java.lang.String timeString)
           
 
Methods inherited from class oracle.adfnmc.java.sql.BaseTime
compareTo, setTime, toString, valueOfInternal
 
Methods inherited from class java.util.Date
equals, getTime, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_INSTANCE

public static final java.lang.Class CLASS_INSTANCE

CLASS_INSTANCE_NAME

public static final java.lang.String CLASS_INSTANCE_NAME
Constructor Detail

Time

public Time(long theTime)
Constructs a Time object using a supplied time specified in milliseconds

Parameters:
theTime - a Time specified in milliseconds since the Epoch (January 1st 1970, 00:00:00.000)
Method Detail

valueOf

public static Time valueOf(java.lang.String timeString)

getDate

public int getDate()
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Date component.

Returns:
does not return
Throws:
java.lang.IllegalArgumentException - if this method is called

getDay

public int getDay()
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Day component.

Returns:
does not return
Throws:
java.lang.IllegalArgumentException - if this method is called

getMonth

public int getMonth()
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Month component.

Returns:
does not return
Throws:
java.lang.IllegalArgumentException - if this method is called

getYear

public int getYear()
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Year component.

Returns:
does not return
Throws:
java.lang.IllegalArgumentException - if this method is called

setDate

public void setDate(int i)
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Date component.

Throws:
java.lang.IllegalArgumentException - if this method is called

setMonth

public void setMonth(int i)
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Month component.

Throws:
java.lang.IllegalArgumentException - if this method is called

setYear

public void setYear(int i)
Deprecated. This method is deprecated and must not be used. An SQL Time object does not have a Year component.

Throws:
java.lang.IllegalArgumentException - if this method is called

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.