Home | History | Annotate | Download | only in unicode

Lines Matching defs:DateFormat

43  * DateFormat is an abstract class for a family of classes that convert dates and
48 * subclass of DateFormat: SimpleDateFormat, which can handle pretty much all normal
51 * DateFormat helps you to format and parse dates for any locale. Your code can
59 * DateFormat* dfmt = DateFormat::createDateInstance();
70 * DateFormat* df = DateFormat::createDateInstance();
83 * DateFormat* dfmt = DateFormat::createDateInstance();
84 * FieldPosition pos(DateFormat::YEAR_FIELD);
95 * DateFormat* df =
96 * DateFormat::createDateInstance( DateFormat::SHORT, Locale::getFrance());
99 * You can use a DateFormat to parse also.
109 * to produce a DateFormat that formats both date and time. You can pass in
122 * control), you can try casting the DateFormat you get from the factory methods
138 class U_I18N_API DateFormat : public Format {
206 virtual ~DateFormat();
271 * DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and
278 * DateFormat instance, the date and the time zone will
298 * DateFormat instance, the date and the time zone will
329 * DateFormat::TIMEZONE_FIELD, the offsets fieldPosition.beginIndex and
412 * @see DateFormat::setLenient(boolean)
418 * DateFormat instance, calendar field values will be
442 * @see DateFormat::setLenient(boolean)
491 static DateFormat* U_EXPORT2 createInstance(void);
504 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
517 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
533 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
616 * Returns a reference to the TimeZone used by this DateFormat's calendar.
617 * @return the time zone associated with the calendar of DateFormat.
623 * Sets the time zone for the calendar of this DateFormat object. The caller
631 * Sets the time zone for the calendar of this DateFormat object.
639 * Default constructor. Creates a DateFormat with no Calendar or NumberFormat
644 DateFormat();
650 DateFormat(const DateFormat&);
656 DateFormat& operator=(const DateFormat&);
659 * The calendar that DateFormat uses to produce the time field values needed
661 * this to the default calendar for the locale associated with this DateFormat.
667 * The number formatter that DateFormat uses to format numbers in dates and
669 * format for the locale associated with this DateFormat.
683 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale&);
687 * Field selector for FieldPosition for DateFormat fields.
741 DateFormat::format(const Formattable& obj,