Java Platform 1.2
Beta 4

Uses of Class
java.util.Calendar

Packages that use Calendar
java.sql Provides the JDBC package.  
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.  
java.util Provides useful utilities for data structures, date, time, internationalization, events (root interfaces), a simple string tokenizer, a random-number generator, observers, properties and exceptions.  
 

Uses of Calendar in java.sql
 

Methods in java.sql with parameters of type Calendar
 void PreparedStatement.setDate(int parameterIndex, Date x, Calendar cal)
          Set a parameter to a java.sql.
 void PreparedStatement.setTime(int parameterIndex, Time x, Calendar cal)
          Set a parameter to a java.sql.
 void PreparedStatement.setTimestamp(int parameterIndex, Timestamp x, Calendar cal)
          Set a parameter to a java.sql.
 Date ResultSet.getDate(int columnIndex, Calendar cal)
          JDBC 2.0 Get the value of a column in the current row as a java.sql.
 Date ResultSet.getDate(String columnName, Calendar cal)
          Get the value of a column in the current row as a java.sql.
 Time ResultSet.getTime(int columnIndex, Calendar cal)
          Get the value of a column in the current row as a java.sql.
 Time ResultSet.getTime(String columnName, Calendar cal)
          Get the value of a column in the current row as a java.sql.
 Timestamp ResultSet.getTimestamp(int columnIndex, Calendar cal)
          Get the value of a column in the current row as a java.sql.
 Timestamp ResultSet.getTimestamp(String columnName, Calendar cal)
          Get the value of a column in the current row as a java.sql.
 Date CallableStatement.getDate(int parameterIndex, Calendar cal)
          Get the value of a SQL DATE parameter as a java.sql.
 Time CallableStatement.getTime(int parameterIndex, Calendar cal)
          Get the value of a SQL TIME parameter as a java.sql.
 Timestamp CallableStatement.getTimestamp(int parameterIndex, Calendar cal)
          Get the value of a SQL TIMESTAMP parameter as a java.sql.
 

Uses of Calendar in java.text
 

Fields in java.text declared as Calendar
protected  Calendar DateFormat.calendar
          The calendar that DateFormat uses to produce the time field values needed to implement date/time formatting.
 

Methods in java.text that return Calendar
 Calendar DateFormat.getCalendar()
          Gets the calendar associated with this date/time formatter.
 

Methods in java.text with parameters of type Calendar
 void DateFormat.setCalendar(Calendar newCalendar)
          Set the calendar to be used by this date format.
 

Uses of Calendar in java.util
 

Subclasses of Calendar in java.util
  GregorianCalendar
          GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar used by most of the world.
 

Methods in java.util that return Calendar
static Calendar Calendar.getInstance()
          Gets a calendar using the default time zone and locale.
static Calendar Calendar.getInstance(TimeZone zone)
          Gets a calendar using the specified time zone and default locale.
static Calendar Calendar.getInstance(Locale aLocale)
          Gets a calendar using the default time zone and specified locale.
static Calendar Calendar.getInstance(TimeZone zone, Locale aLocale)
          Gets a calendar with the specified time zone and locale.
 


Java Platform 1.2
Beta 4

Submit a bug or feature
Submit comments/suggestions about new javadoc look
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This documentation was generated with a post-Beta4 version of Javadoc.