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

3  *   Copyright (C) 1997-2015, International Business Machines
11 * Date Name Description
54 * language-independent manner. Converting from the internal representation (milliseconds
58 * date formatting and parsing actions.
64 * To format a date for the current Locale, use one of the static factory
71 * myString = dfmt->format( myDate, myString );
84 * cout << df->format( myDateArr[i], myString ) << endl;
88 * To get specific fields of a date, you can use UFieldPosition to
95 * myString = dfmt->format( myDate, myString );
100 * To format a date for a different Locale, specify it in the call to
112 * UDate myDate = df->parse(myString, status);
115 * Use createDateInstance() to produce the normal date format for that country.
118 * to produce a DateFormat that formats both date and time. You can pass in
143 * <p><em>User subclasses are not supported.</em> While clients may write
144 * subclasses, such code will not necessarily work and will not be
152 * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns,
153 * the default date-time pattern, and 4 date-time patterns. Each block of 4 values
159 kNone = -1,
228 * objects with a UDate type. If a the Formattable object type is not a Date,
231 * @param obj The object to format. Must be a Date.
247 * objects with a UDate type. If a the Formattable object type is not a Date,
250 * @param obj The object to format. Must be a Date.
265 * Formats a date into a date/time string. This is an abstract method which
284 * @param cal Calendar set to the date and time to be formatted
285 * into a date/time string. When the calendar type is
287 * DateFormat instance, the date and the time zone will
302 * Formats a date into a date/time string. Subclasses should implement this method.
304 * @param cal Calendar set to the date and time to be formatted
305 * into a date/time string. When the calendar type is
307 * DateFormat instance, the date and the time zone will
324 * Formats a UDate into a date/time string.
342 * @param date UDate to be formatted into a date/time string.
350 UnicodeString& format( UDate date,
355 * Formats a UDate into a date/time string.
357 * @param date UDate to be formatted into a date/time string.
367 UnicodeString& format(UDate date,
372 * Formats a UDate into a date/time string. If there is a problem, you won't
376 * @param date The UDate value to be formatted into a string.
382 UnicodeString& format(UDate date, UnicodeString& appendTo) const;
385 * Parse a date/time string. For example, a time text "07/10/96 4:5 PM, PDT"
386 * will be parsed into a UDate that is equivalent to Date(837039928046).
393 * By default, parsing is lenient: If the input is not in the form used by
394 * this object's format method but can still be parsed as a date, then the
399 * Note that the normal date formats associated with some calendars - such
400 * as the Chinese lunar calendar - do not specify enough fields to enable
402 * calendar, while the year within the current 60-year cycle is specified,
403 * the number of such cycles since the start date of the calendar (in the
404 * ERA field of the Calendar object) is not normally part of the format,
408 * with the Calendar passed in set to the current date, or to a date
411 * @param text The date/time string to be parsed into a UDate value.
422 * Parse a date/time string beginning at the given parse position. For
423 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
424 * that is equivalent to Date(837039928046).
426 * By default, parsing is lenient: If the input is not in the form used by
427 * this object's format method but can still be parsed as a date, then the
432 * @param text The date/time string to be parsed.
433 * @param cal A Calendar set on input to the date and time to be used for
434 * missing values in the date/time string being parsed, and set
435 * on output to the parsed date/time. When the calendar type is
452 * Parse a date/time string beginning at the given parse position. For
453 * example, a time text "07/10/96 4:5 PM, PDT" will be parsed into a Date
454 * that is equivalent to Date(837039928046).
456 * By default, parsing is lenient: If the input is not in the form used by
457 * this object's format method but can still be parsed as a date, then the
462 * Note that the normal date formats associated with some calendars - such
463 * as the Chinese lunar calendar - do not specify enough fields to enable
465 * calendar, while the year within the current 60-year cycle is specified,
466 * the number of such cycles since the start date of the calendar (in the
467 * ERA field of the Calendar object) is not normally part of the format,
471 * with the Calendar passed in set to the current date, or to a date
474 * @param text The date/time string to be parsed into a UDate value.
486 * date/time strings into Formattable objects with UDate types.
503 * source is not parsed successfully, this param
512 * Create a default date/time formatter that uses the SHORT style for both
513 * the date and the time.
515 * @return A date/time formatter which the caller owns.
526 * time styles are not currently supported.
535 * Creates a date formatter with the given formatting style for the given
539 * US locale. As currently implemented, relative date formatting only
541 … * current date, based on the CLDR &lt;field type="day"&gt;/&lt;relative&gt; data:
544 * non-relative style.
546 * @return A date formatter which the caller owns.
553 * Creates a date/time formatter with the given formatting styles for the
556 * @param dateStyle The given formatting style for the date portion of the result.
558 * implemented, relative date formatting only affects a limited range
559 * of calendar days before or after the current date, based on the
562 * are formatted using the corresponding non-relative style.
565 * time styles are not currently supported.
567 * @return A date/time formatter which the caller owns.
591 * Creates a date/time formatter for the given skeleton and
600 * @return A date/time formatter which the caller owns.
608 * Creates a date/time formatter for the given skeleton and locale.
617 * @return A date/time formatter which the caller owns.
626 * Creates a date/time formatter for the given skeleton and locale.
636 * @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.