Lines Matching refs:DATE
11 * Date Name Description
75 * time fields have been initialized with the current date and time:
84 * needed to implement the date-time formatting for a particular language
98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc.
146 * The date or time format strings are not part of the definition of a
154 * month up in the date <code>December 12, <b>1996</b></code> results in
158 * <code>Calendar</code> also provides a date arithmetic function for
160 * For example, subtracting 5 days from the date <code>September 12, 1996</code>
169 * Field IDs for date and time. Used to specify date/time fields. ERA is calendar
187 DATE, // Example: 1..31
416 * @param date
422 inline void setTime(UDate date, UErrorCode& status) { setTimeInMillis(date, status); }
508 * the current time of the calendar, call add(Calendar::DATE, -5). When adding on
509 * the month or Calendar::MONTH field, other fields like date might conflict and
510 * need to be changed. For instance, adding 1 month on the date 01/31/96 will result
513 * @param field Specifies which date field to modify.
527 * the current time of the calendar, call add(Calendar::DATE, -5). When adding on
528 * the month or Calendar::MONTH field, other fields like date might conflict and
529 * need to be changed. For instance, adding 1 month on the date 01/31/96 will result
532 * @param field Specifies which date field to modify.
545 * time field. For example, to roll the current date up by one day, call
546 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
549 * Calendar::MONTH field, other fields like date might conflict and, need to be
550 * changed. For instance, rolling the month up on the date 01/31/96 will result in
570 * time field. For example, to roll the current date up by one day, call
571 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
574 * Calendar::MONTH field, other fields like date might conflict and, need to be
575 * changed. For instance, rolling the month up on the date 01/31/96 will result in
595 * time field. For example, to roll the current date up by one day, call
596 * roll(Calendar::DATE, +1, status). When rolling on the month or
597 * Calendar::MONTH field, other fields like date might conflict and, need to be
598 * changed. For instance, rolling the month up on the date 01/31/96 will result in
619 * time field. For example, to roll the current date up by one day, call
620 * roll(Calendar::DATE, +1, status). When rolling on the month or
621 * Calendar::MONTH field, other fields like date might conflict and, need to be
622 * changed. For instance, rolling the month up on the date 01/31/96 will result in
665 * int d = cal->fieldDifference(when, Calendar::DATE, err);</pre>
676 * int d1 = cal->fieldDifference(date2, Calendar::DATE, err);
679 * int d2 = cal->fieldDifference(date1, Calendar::DATE, err);</pre>
686 * @param when the date to compare this calendar's time to
722 * int d = cal->fieldDifference(when, Calendar::DATE, err);</pre>
733 * int d1 = cal->fieldDifference(date2, Calendar::DATE, err);
736 * int d2 = cal->fieldDifference(date1, Calendar::DATE, err);</pre>
743 * @param when the date to compare this calendar's time to
795 * Queries if the current date for this Calendar is in Daylight Savings Time.
798 * @return True if the current date for this Calendar is in Daylight Savings Time,
805 * Specifies whether or not date/time interpretation is to be lenient. With lenient
806 * interpretation, a date such as "February 942, 1996" will be treated as being
811 * @param lenient True specifies date/time interpretation to be lenient.
819 * Tells whether date/time interpretation is to be lenient.
821 * @return True tells that date/time interpretation is to be lenient.
962 * Return the minimum value that this field could have, given the current date.
972 * @return the minimum of the given field for the current date of this Calendar
978 * Return the minimum value that this field could have, given the current date.
988 * @return the minimum of the given field for the current date of this Calendar
994 * Return the maximum value that this field could have, given the current date.
995 * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
1006 * @return the maximum of the given field for the current date of this Calendar
1012 * Return the maximum value that this field could have, given the current date.
1013 * For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual
1024 * @return the maximum of the given field for the current date of this Calendar
1098 * Sets the values for the fields YEAR, MONTH, and DATE. Other field values are
1104 * @param date The value used to set the DATE time field.
1107 void set(int32_t year, int32_t month, int32_t date);
1110 * Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE. Other
1116 * @param date The value used to set the DATE time field.
1121 void set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute);
1124 * Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND.
1130 * @param date The value used to set the DATE time field.
1136 void set(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second);
1229 * @param date The UDate in question.
1235 virtual UBool isWeekend(UDate date, UErrorCode &status) const;
1238 * Returns TRUE if this Calendar's current date-time is in the weekend in
1240 * @return TRUE if this Calendar's current date-time is in the weekend in
1508 * @param bestField which field to use to calculate the date
1543 * @param millis milliseconds of the date fields
1819 * the allowable range for the date to which this calendar is set.
1855 * known date in the period in order to determine the day of week
1868 * day in the period (e.g. the current date) <em>is</em> known.
1900 * initial days. This method requires the day of week for the given date in order to
1957 * used to figure out the week count for a specific date for a given locale. These
1960 * out the week count for a specific date for a given locale. These must be set when
2099 * Convert a quasi Julian date to the day of the week. The Julian date used here is
2100 * not a true Julian date, since it is measured from midnight, not noon. Return
2103 * @param julian The given Julian date number.