• Home
  • Raw
  • Download

Lines Matching +full:not +full:- +full:date

5  *   Copyright (C) 1997-2016, International Business Machines
13 * Date Name Description
56 * language-independent manner. Converting from the internal representation (milliseconds
60 * date formatting and parsing actions.
66 * To format a date for the current Locale, use one of the static factory
73 * myString = dfmt->format( myDate, myString );
86 * cout << df->format( myDateArr[i], myString ) << endl;
90 * To get specific fields of a date, you can use UFieldPosition to
97 * myString = dfmt->format( myDate, myString );
102 * To format a date for a different Locale, specify it in the call to
114 * UDate myDate = df->parse(myString, status);
117 * Use createDateInstance() to produce the normal date format for that country.
120 * to produce a DateFormat that formats both date and time. You can pass in
145 * <p><em>User subclasses are not supported.</em> While clients may write
146 * subclasses, such code will not necessarily work and will not be
154 * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns,
155 * the default date-time pattern, and 4 date-time patterns. Each block of 4 values
161 kNone = -1,
230 * objects with a UDate type. If a the Formattable object type is not a Date,
233 * @param obj The object to format. Must be a Date.
249 * objects with a UDate type. If a the Formattable object type is not a Date,
252 * @param obj The object to format. Must be a Date.
267 * Formats a date into a date/time string. This is an abstract method which
286 * @param cal Calendar set to the date and time to be formatted
287 * into a date/time string. When the calendar type is
289 * DateFormat instance, the date and the time zone will
304 * Formats a date into a date/time string. Subclasses should implement this method.
306 * @param cal Calendar set to the date and time to be formatted
307 * into a date/time string. When the calendar type is
309 * DateFormat instance, the date and the time zone will
326 * Formats a UDate into a date/time string.
344 * @param date UDate to be formatted into a date/time string.
352 UnicodeString& format( UDate date,
357 * Formats a UDate into a date/time string.
359 * @param date UDate to be formatted into a date/time string.
369 UnicodeString& format(UDate date,
374 * Formats a UDate into a date/time string. If there is a problem, you won't
378 * @param date The UDate value to be formatted into a string.
384 UnicodeString& format(UDate date, UnicodeString& appendTo) const;
387 * Parse a date/time string. For example, a time text "07/10/96 4:5 PM, PDT"
388 * will be parsed into a UDate that is equivalent to Date(837039928046).
395 * By default, parsing is lenient: If the input is not in the form used by
396 * this object's format method but can still be parsed as a date, then the
401 * Note that the normal date formats associated with some calendars - such
402 * as the Chinese lunar calendar - do not specify enough fields to enable
404 * calendar, while the year within the current 60-year cycle is specified,
405 * the number of such cycles since the start date of the calendar (in the
406 * ERA field of the Calendar object) is not normally part of the format,
410 * with the Calendar passed in set to the current date, or to a date
413 * @param text The date/time string to be parsed into a UDate value.
424 * Parse a date/time string beginning at the given parse position. For
425 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
426 * that is equivalent to Date(837039928046).
428 * By default, parsing is lenient: If the input is not in the form used by
429 * this object's format method but can still be parsed as a date, then the
434 * @param text The date/time string to be parsed.
435 * @param cal A Calendar set on input to the date and time to be used for
436 * missing values in the date/time string being parsed, and set
437 * on output to the parsed date/time. When the calendar type is
454 * Parse a date/time string beginning at the given parse position. For
455 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
456 * that is equivalent to Date(837039928046).
458 * By default, parsing is lenient: If the input is not in the form used by
459 * this object's format method but can still be parsed as a date, then the
464 * Note that the normal date formats associated with some calendars - such
465 * as the Chinese lunar calendar - do not specify enough fields to enable
467 * calendar, while the year within the current 60-year cycle is specified,
468 * the number of such cycles since the start date of the calendar (in the
469 * ERA field of the Calendar object) is not normally part of the format,
473 * with the Calendar passed in set to the current date, or to a date
476 * @param text The date/time string to be parsed into a UDate value.
488 * date/time strings into Formattable objects with UDate types.
505 * source is not parsed successfully, this param
514 * Create a default date/time formatter that uses the SHORT style for both
515 * the date and the time.
517 * @return A date/time formatter which the caller owns.
528 * time styles are not currently supported.
537 * Creates a date formatter with the given formatting style for the given
541 * US locale. As currently implemented, relative date formatting only
543 … * current date, based on the CLDR &lt;field type="day"&gt;/&lt;relative&gt; data:
546 * non-relative style.
548 * @return A date formatter which the caller owns.
555 * Creates a date/time formatter with the given formatting styles for the
558 * @param dateStyle The given formatting style for the date portion of the result.
560 * implemented, relative date formatting only affects a limited range
561 * of calendar days before or after the current date, based on the
564 * are formatted using the corresponding non-relative style.
567 * time styles are not currently supported.
569 * @return A date/time formatter which the caller owns.
592 * Creates a date/time formatter for the given skeleton and
601 * @return A date/time formatter which the caller owns.
609 * Creates a date/time formatter for the given skeleton and locale.
618 * @return A date/time formatter which the caller owns.
627 * Creates a date/time formatter for the given skeleton and locale.
637 * @return A date/time formatter which the caller owns.
651 * does NOT own this list and must not delete it.
657 …* Returns whether both date/time parsing in the encapsulated Calendar object and DateFormat whites…
664 * Specifies whether date/time parsing is to be lenient. With
666 * do not precisely match this object's format. Without lenient parsing,
672 * This method supports prior functionality but may not support all
679 * @param lenient True specifies date/time interpretation to be lenient.
687 * Returns whether date/time parsing in the encapsulated Calendar object processing is lenient.
694 * Specifies whether encapsulated Calendar date/time parsing is to be lenient. With
696 * do not precisely match this object's format. Without lenient parsing,
706 * Gets the calendar associated with this date/time formatter.
707 * The calendar is owned by the formatter and must not be modified.
708 * Also, the calendar does not reflect the results of a parse operation.
710 * @return the calendar associated with this date/time formatter.
716 * Set the calendar to be used by this date format. Initially, the default
718 * not delete the Calendar object after it is adopted by this call.
727 * Set the calendar to be used by this date format. Initially, the default
737 * Gets the number formatter which this date/time formatter uses to format
739 * @return the number formatter which this date/time formatter uses.
746 * not delete the NumberFormat object after it is adopted by this call.
768 * no longer owns the TimeZone object and should not delete it after this call.
806 * May return U_UNSUPPORTED_ERROR if this instance does not support
811 * @return *this - for chaining (example: format.setAttribute(...).setAttribute(...) )
821 * May return U_UNSUPPORTED_ERROR if this instance does not support
853 * to implement date/time formatting. Subclasses should generally initialize
871 * Gets the date/time formatter with the given formatting styles for the
873 * @param dateStyle the given date formatting style.
876 * @return a date/time formatter, or 0 on failure.