Lines Matching full: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
402 * @see DateFormat::setLenient(boolean)
435 * @see DateFormat::setLenient(boolean)
441 * different from the internal calendar held by this DateFormat
465 * @see DateFormat::setLenient(boolean)
523 static DateFormat* U_EXPORT2 createInstance(void);
536 static DateFormat* U_EXPORT2 createTimeInstance(EStyle style = kDefault,
554 static DateFormat* U_EXPORT2 createDateInstance(EStyle style = kDefault,
575 static DateFormat* U_EXPORT2 createDateTimeInstance(EStyle dateStyle = kDefault,
658 * Returns a reference to the TimeZone used by this DateFormat's calendar.
659 * @return the time zone associated with the calendar of DateFormat.
665 * Sets the time zone for the calendar of this DateFormat object. The caller
673 * Sets the time zone for the calendar of this DateFormat object.
681 * Default constructor. Creates a DateFormat with no Calendar or NumberFormat
686 DateFormat();
692 DateFormat(const DateFormat&);
698 DateFormat& operator=(const DateFormat&);
701 * The calendar that DateFormat uses to produce the time field values needed
703 * this to the default calendar for the locale associated with this DateFormat.
709 * The number formatter that DateFormat uses to format numbers in dates and
711 * format for the locale associated with this DateFormat.
725 static DateFormat* U_EXPORT2 create(EStyle timeStyle, EStyle dateStyle, const Locale& inLocale);
730 * Field selector for FieldPosition for DateFormat fields.
785 DateFormat::format(const Formattable& obj,