Uses of Class com.ibm.icu.util.Calendar

Uses in package com.ibm.icu.util

Classes derived from com.ibm.icu.util.Calendar

class
BuddhistCalendar is a subclass of GregorianCalendar that numbers years since the birth of the Buddha.
class
ChineseCalendar is a concrete subclass of Calendar that implements a traditional Chinese calendar.
class
Implement the Coptic calendar system.
class
Implement the Ethiopic calendar system.
class
GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar used by most of the world.
class
HebrewCalendar is a subclass of Calendar that that implements the traditional Hebrew calendar.
class
IslamicCalendar is a subclass of Calendar that that implements the Islamic civil and religious calendars.
class
JapaneseCalendar is a subclass of GregorianCalendar that numbers years and eras based on the reigns of the Japanese emperors.

Methods with parameter type com.ibm.icu.util.Calendar

int
Compares the times (in millis) represented by two Calendar objects.
boolean
Returns true if the given Calendar object is equivalent to this one.
boolean
Returns true if the given Calendar object is equivalent to this one.
GlobalizationPreferences
Sets the calendar.

Methods with return type com.ibm.icu.util.Calendar

Calendar
Get a copy of the calendar according to the settings.
Calendar
Gets a calendar using the default time zone and locale.
Calendar
Calendar.getInstance(Locale aLocale)
Gets a calendar using the default time zone and specified locale.
Calendar
Gets a calendar using the specified time zone and default locale.
Calendar
Calendar.getInstance(TimeZone zone, Locale aLocale)
Gets a calendar with the specified time zone and locale.
Calendar
Gets a calendar with the specified time zone and locale.
Calendar
Gets a calendar using the default time zone and specified locale.
Calendar
This function can be overridden by subclasses to use different heuristics.

Uses in package com.ibm.icu.text

Constructors with parameter type com.ibm.icu.util.Calendar

Construct a ChineseDateFormatSymbols for the provided calendar and locale.
Construct a ChineseDateFormatSymbols for the provided calendar and locale.
Get the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.
Get the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.

Fields of type com.ibm.icu.util.Calendar

Calendar
The calendar that DateFormat uses to produce the time field values needed to implement date and time formatting.

Methods with parameter type com.ibm.icu.util.Calendar

StringBuffer
DateFormat.format(Calendar cal, StringBuffer toAppendTo, FieldPosition fieldPosition)
Formats a date into a date/time string.
StringBuffer
SimpleDateFormat.format(Calendar cal, StringBuffer toAppendTo, FieldPosition pos)
Overrides DateFormat.
ResourceBundle
Variant of getDateFormatBundle(java.lang.Class, java.util.Locale) that takes a Calendar instance instead of a Calendar class.
ResourceBundle
Variant of getDateFormatBundle(java.lang.Class, java.util.Locale) that takes a Calendar instance instead of a Calendar class.
DateFormat
DateFormat.getDateInstance(Calendar cal, int dateStyle)
Convenience overload
DateFormat
DateFormat.getDateInstance(Calendar cal, int dateStyle, Locale locale)
Create a DateFormat object that can be used to format dates in the calendar system specified by cal.
DateFormat
DateFormat.getDateInstance(Calendar cal, int dateStyle, ULocale locale)
Create a DateFormat object that can be used to format dates in the calendar system specified by cal.
DateFormat
DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle)
Convenience overload
DateFormat
DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, Locale locale)
Create a DateFormat object that can be used to format dates and times in the calendar system specified by cal.
DateFormat
DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale)
Create a DateFormat object that can be used to format dates and times in the calendar system specified by cal.
DateFormat
Convenience overload
DateFormat
DateFormat.getInstance(Calendar cal, Locale locale)
Convenience overload
DateFormat
Convenience overload
DateFormat
DateFormat.getTimeInstance(Calendar cal, int timeStyle)
Convenience overload
DateFormat
DateFormat.getTimeInstance(Calendar cal, int timeStyle, Locale locale)
Create a DateFormat object that can be used to format times in the calendar system specified by cal.
DateFormat
DateFormat.getTimeInstance(Calendar cal, int timeStyle, ULocale locale)
Create a DateFormat object that can be used to format times in the calendar system specified by cal.
int
SimpleDateFormat.matchString(String text, int start, int field, String[] data, Calendar cal)
Attempt to match the text at a given position against an array of strings.
void
DateFormat.parse(String text, Calendar cal, ParsePosition pos)
Parse a date/time string according to the given parse position.
void
SimpleDateFormat.parse(String text, Calendar cal, ParsePosition parsePos)
Overrides DateFormat
void
Set the calendar to be used by this date format.
void
ChineseDateFormat.subFormat(StringBuffer buf, char ch, int count, int beginOffset, FieldPosition pos, Calendar cal)
void
SimpleDateFormat.subFormat(StringBuffer buf, char ch, int count, int beginOffset, FieldPosition pos, Calendar cal)
Format a single field; useFastFormat variant.
String
SimpleDateFormat.subFormat(char ch, int count, int beginOffset, FieldPosition pos, DateFormatSymbols formatData, Calendar cal)
Format a single field, given its pattern character.
int
ChineseDateFormat.subParse(String text, int start, char ch, int count, boolean obeyCount, boolean allowNegative, boolean[] ambiguousYear, Calendar cal)
int
SimpleDateFormat.subParse(String text, int start, char ch, int count, boolean obeyCount, boolean allowNegative, boolean[] ambiguousYear, Calendar cal)
Protected method that converts one field of the input string into a numeric field value in cal.

Methods with return type com.ibm.icu.util.Calendar

Calendar
Gets the calendar associated with this date/time formatter.

Copyright (c) 2006 IBM Corporation and others.