Uses of Class java.util.Calendar

Uses in package javax.sql

Methods with parameter type java.util.Calendar

void
RowSet.setDate(int parameterIndex, Date x, Calendar cal)
void
RowSet.setTime(int parameterIndex, Time x, Calendar cal)
void
RowSet.setTimestamp(int parameterIndex, Timestamp x, Calendar cal)

Uses in package java.text

Fields of type java.util.Calendar

Calendar

Methods with parameter type java.util.Calendar

void
This method specified the Calendar that should be used by this object to parse/format datetimes.

Methods with return type java.util.Calendar

Calendar
This method returns the Calendar object being used by this object to parse/format datetimes.

Uses in package java.util

Classes derived from java.util.Calendar

class
This class represents the Gregorian calendar, that is used in most countries all over the world.

Methods with parameter type java.util.Calendar

int
Compares the time of two calendar instances.

Methods with return type java.util.Calendar

Calendar
Creates a calendar representing the actual time, using the default time zone and locale.
Calendar
Creates a calendar representing the actual time, using the default time zone and the given locale.
Calendar
Creates a calendar representing the actual time, using the given time zone and the default locale.
Calendar
Creates a calendar representing the actual time, using the given time zone and locale.

Uses in package javax.xml.datatype

Methods with parameter type java.util.Calendar

void
Adds this duration to the specified calendar.
long
Returns the duration length in milliseconds.
Duration
Duration.normalizeWith(Calendar startTimeInstant)
Converts the years and months fields into the days field using a specific time instant as the reference point.

Uses in package java.sql

Methods with parameter type java.util.Calendar

Date
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(int columnIndex, Calendar cal)
This method returns the specified column value as a java.sql.Date.
Date
This method returns the value of the specified parameter as a Java java.sql.Date.
Date
ResultSet.getDate(String columnName, Calendar cal)
This method returns the specified column value as a java.sql.Date.
Time
This method returns the value of the specified parameter as a Java java.sql.Time.
Time
ResultSet.getTime(int columnIndex, Calendar cal)
This method returns the specified column value as a java.sql.Time.
Time
This method returns the value of the specified parameter as a Java java.sql.Time.
Time
ResultSet.getTime(String columnName, Calendar cal)
This method returns the specified column value as a java.sql.Time.
Timestamp
This method returns the value of the specified parameter as a Java java.sql.Timestamp.
Timestamp
ResultSet.getTimestamp(int columnIndex, Calendar cal)
This method returns the specified column value as a java.sql.Timestamp.
Timestamp
This method returns the value of the specified parameter as a Java java.sql.Timestamp.
Timestamp
This method returns the specified column value as a java.sql.Timestamp.
void
PreparedStatement.setDate(int index, Date value, Calendar cal)
This method sets the specified parameter from the given Java java.sql.Date value.
void
This method sets the specified parameter from the given Java java.sql.Date value.
void
PreparedStatement.setTime(int index, Time value, Calendar cal)
This method sets the specified parameter from the given Java java.sql.Time value.
void
This method sets the specified parameter from the given Java java.sql.Time value.
void
This method sets the specified parameter from the given Java java.sql.Timestamp value.
void
This method sets the specified parameter from the given Java java.sql.Timestamp value.