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

Packages that use Calendar
com.ibm.icu.text Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping. 
com.ibm.icu.util International calendars and other utility classes. 
 

Uses of Calendar in com.ibm.icu.text
 

Fields in com.ibm.icu.text declared as Calendar
protected  Calendar DateFormat.calendar
          The calendar that DateFormat uses to produce the time field values needed to implement date and time formatting.
 

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

Methods in com.ibm.icu.text with parameters of type Calendar
protected  void ChineseDateFormat.subFormat(StringBuffer buf, char ch, int count, int beginOffset, FieldPosition pos, Calendar cal)
           
protected  int ChineseDateFormat.subParse(String text, int start, char ch, int count, boolean obeyCount, boolean allowNegative, boolean[] ambiguousYear, Calendar cal)
           
 StringBuffer SimpleDateFormat.format(Calendar cal, StringBuffer toAppendTo, FieldPosition pos)
          Overrides DateFormat.
protected  String SimpleDateFormat.subFormat(char ch, int count, int beginOffset, FieldPosition pos, DateFormatSymbols formatData, Calendar cal)
          Format a single field, given its pattern character.
protected  void SimpleDateFormat.subFormat(StringBuffer buf, char ch, int count, int beginOffset, FieldPosition pos, Calendar cal)
          Format a single field; useFastFormat variant.
 void SimpleDateFormat.parse(String text, Calendar cal, ParsePosition parsePos)
          Overrides DateFormat
protected  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.
protected  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.
static ResourceBundle DateFormatSymbols.getDateFormatBundle(Calendar cal, Locale locale)
          Variant of getDateFormatBundle(java.lang.Class, java.util.Locale) that takes a Calendar instance instead of a Calendar class.
static ResourceBundle DateFormatSymbols.getDateFormatBundle(Calendar cal, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
abstract  StringBuffer DateFormat.format(Calendar cal, StringBuffer toAppendTo, FieldPosition fieldPosition)
          Formats a date into a date/time string.
abstract  void DateFormat.parse(String text, Calendar cal, ParsePosition pos)
          Parse a date/time string according to the given parse position.
 void DateFormat.setCalendar(Calendar newCalendar)
          Set the calendar to be used by this date format.
static 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.
static DateFormat DateFormat.getDateInstance(Calendar cal, int dateStyle, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
static 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.
static DateFormat DateFormat.getTimeInstance(Calendar cal, int timeStyle, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
static 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.
static DateFormat DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
static DateFormat DateFormat.getInstance(Calendar cal, Locale locale)
          Convenience overload
static DateFormat DateFormat.getInstance(Calendar cal, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
static DateFormat DateFormat.getInstance(Calendar cal)
          Convenience overload
static DateFormat DateFormat.getDateInstance(Calendar cal, int dateStyle)
          Convenience overload
static DateFormat DateFormat.getTimeInstance(Calendar cal, int timeStyle)
          Convenience overload
static DateFormat DateFormat.getDateTimeInstance(Calendar cal, int dateStyle, int timeStyle)
          Convenience overload
 

Constructors in com.ibm.icu.text with parameters of type Calendar
DateFormatSymbols(Calendar cal, Locale locale)
          Get the DateFormatSymbols object that should be used to format a calendar system's dates in the given locale.
DateFormatSymbols(Calendar cal, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
ChineseDateFormatSymbols(Calendar cal, Locale locale)
          Construct a ChineseDateFormatSymbols for the provided calendar and locale.
ChineseDateFormatSymbols(Calendar cal, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
 

Uses of Calendar in com.ibm.icu.util
 

Subclasses of Calendar in com.ibm.icu.util
 class BuddhistCalendar
          Deprecated. This is a draft API and might change in a future release of ICU.
 class ChineseCalendar
          Deprecated. This is a draft API and might change in a future release of ICU.
 class GregorianCalendar
          GregorianCalendar is a concrete subclass of Calendar and provides the standard calendar used by most of the world.
 class HebrewCalendar
          Deprecated. This is a draft API and might change in a future release of ICU.
 class IslamicCalendar
          Deprecated. This is a draft API and might change in a future release of ICU.
 class JapaneseCalendar
          Deprecated. This is a draft API and might change in a future release of ICU.
 

Methods in com.ibm.icu.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(ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
static Calendar Calendar.getInstance(TimeZone zone, Locale aLocale)
          Gets a calendar with the specified time zone and locale.
static Calendar Calendar.getInstance(TimeZone zone, ULocale locale)
          Deprecated. This is a draft API and might change in a future release of ICU.
 

Methods in com.ibm.icu.util with parameters of type Calendar
 boolean GregorianCalendar.isEquivalentTo(Calendar other)
          Returns true if the given Calendar object is equivalent to this one.
 boolean Calendar.isEquivalentTo(Calendar other)
          Returns true if the given Calendar object is equivalent to this one.
 



Copyright (c) 2004 IBM Corporation and others.