com.ibm.as400.access
Class AS400Calendar

java.lang.Object
  extended by com.ibm.as400.access.AS400Calendar

public class AS400Calendar
extends Object


Constructor Summary
AS400Calendar()
           
 
Method Summary
static Calendar getConversionCalendar(Calendar calendar)
          Get a calendar to do the conversion to java.util.Date based objects.
static Calendar getGMTInstance()
           
static Calendar getGregorianInstance()
           
static Calendar getGregorianInstance(TimeZone timezone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AS400Calendar

public AS400Calendar()
Method Detail

getGregorianInstance

public static Calendar getGregorianInstance()

getGregorianInstance

public static Calendar getGregorianInstance(TimeZone timezone)

getConversionCalendar

public static Calendar getConversionCalendar(Calendar calendar)
Get a calendar to do the conversion to java.util.Date based objects. If the user passes in a non-Gregorian calendar, then use the timezone to create a gregorian calendar. This is the observed behavior of the jcc driver.

Parameters:
calendar -
Returns:

getGMTInstance

public static Calendar getGMTInstance()