Home | History | Annotate | Download | only in unicode

Lines Matching refs:date

11  *   Date        Name        Description
49 * date formatting and parsing actions.
55 * To format a date for the current Locale, use one of the static factory
79 * To get specific fields of a date, you can use UFieldPosition to
91 * To format a date for a different Locale, specify it in the call to
106 * Use createDateInstance() to produce the normal date format for that country.
109 * to produce a DateFormat that formats both date and time. You can pass in
143 * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns,
144 * the default date-time pattern, and 4 date-time patterns. Each block of 4 values
219 * objects with a UDate type. If a the Formattable object type is not a Date,
222 * @param obj The object to format. Must be a Date.
238 * objects with a UDate type. If a the Formattable object type is not a Date,
241 * @param obj The object to format. Must be a Date.
256 * Formats a date into a date/time string. This is an abstract method which
275 * @param cal Calendar set to the date and time to be formatted
276 * into a date/time string. When the calendar type is
278 * DateFormat instance, the date and the time zone will
293 * Formats a date into a date/time string. Subclasses should implement this method.
295 * @param cal Calendar set to the date and time to be formatted
296 * into a date/time string. When the calendar type is
298 * DateFormat instance, the date and the time zone will
315 * Formats a UDate into a date/time string.
333 * @param date UDate to be formatted into a date/time string.
341 UnicodeString& format( UDate date,
346 * Formats a UDate into a date/time string.
348 * @param date UDate to be formatted into a date/time string.
358 UnicodeString& format(UDate date,
363 * Formats a UDate into a date/time string. If there is a problem, you won't
367 * @param date The UDate value to be formatted into a string.
373 UnicodeString& format(UDate date, UnicodeString& appendTo) const;
390 * Parse a date/time string.
403 * Parse a date/time string beginning at the given parse position. For
404 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
405 * that is equivalent to Date(837039928046).
408 * this object's format method but can still be parsed as a date, then the
414 * @param text The date/time string to be parsed
415 * @param cal a Calendar set to the date and time to be formatted
416 * into a date/time string. When the calendar type
433 * Parse a date/time string beginning at the given parse position. For
434 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
435 * that is equivalent to Date(837039928046).
438 * this object's format method but can still be parsed as a date, then the
444 * @param text The date/time string to be parsed
456 * date/time strings into Formattable objects with UDate types.
485 * Create a default date/time formatter that uses the SHORT style for both
486 * the date and the time.
488 * @return A date/time formatter which the caller owns.
508 * Creates a date formatter with the given formatting style for the given
514 * @return A date formatter which the caller owns.
521 * Creates a date/time formatter with the given formatting styles for the
524 * @param dateStyle The given formatting style for the date portion of the result.
530 * @return A date/time formatter which the caller owns.
553 * Specify whether or not date/time parsing is to be lenient. With lenient
558 * @param lenient True specifies date/time interpretation to be lenient.
565 * Gets the calendar associated with this date/time formatter.
566 * @return the calendar associated with this date/time formatter.
572 * Set the calendar to be used by this date format. Initially, the default
583 * Set the calendar to be used by this date format. Initially, the default
593 * Gets the number formatter which this date/time formatter uses to format
595 * @return the number formatter which this date/time formatter uses.
660 * to implement date/time formatting. Subclasses should generally initialize
676 * Gets the date/time formatter with the given formatting styles for the
678 * @param dateStyle the given date formatting style.
681 * @return a date/time formatter, or 0 on failure.