com.esri.sde.sdk.client
Class SeDate

java.lang.Object
  extended by com.esri.sde.sdk.client.SeDate

public class SeDate
extends java.lang.Object

This class is used to generate the database dependent date format required queries using where clause constraints.


Constructor Summary
SeDate(java.util.Calendar cal)
          Constructs an SeDate with the date and time specified by the given Calendar parameter.
SeDate(java.util.Date dt)
          Deprecated. at ArcSDE v8.3
 
Method Summary
 java.lang.String toWhereStr(SeConnection conn)
          Returns a database specific text string equivalent of date object that can be used in the where clause of a sql query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeDate

public SeDate(java.util.Calendar cal)
Constructs an SeDate with the date and time specified by the given Calendar parameter.

Parameters:
cal - the java.util.Calendar value used to set the date and time.

SeDate

public SeDate(java.util.Date dt)
Deprecated. at ArcSDE v8.3

Constructs an SeDate object from a java.util.Date object. NOTE : The time zone for the new SeDate object is set to "GMT". If the dt parameter is set to a different time zone, the time is adjusted to GMT time.

Parameters:
dt - java.util.Date object.
Method Detail

toWhereStr

public java.lang.String toWhereStr(SeConnection conn)
                            throws SeException
Returns a database specific text string equivalent of date object that can be used in the where clause of a sql query.

Parameters:
conn - SeConnection object handle.
Returns:
String
Throws:
SeException