Lines Matching refs:date

51  * can select a date by tapping on it and can scroll or fling the calendar to a
52 * desired date.
78 * The callback used to indicate the user changes the date.
185 * @param color The focused month date color.
198 * @return The focused month date color.
212 * @param color A not focused month date color.
225 * @return A not focused month date color.
292 * the end of the selected date.
306 * the end of the selected date.
320 * the end of the selected date.
375 * Gets the minimal date supported by this {@link CalendarView} in milliseconds
379 * Note: The default minimal date is 01/01/1900.
382 * @return The minimal supported date.
391 * Sets the minimal date supported by this {@link CalendarView} in milliseconds
395 * @param minDate The minimal supported date.
404 * Gets the maximal date supported by this {@link CalendarView} in milliseconds
408 * Note: The default maximal date is 01/01/2100.
411 * @return The maximal supported date.
420 * Sets the maximal date supported by this {@link CalendarView} in milliseconds
424 * @param maxDate The maximal supported date.
497 * Sets the listener to be notified upon selected date change.
506 * Gets the selected date in milliseconds since January 1, 1970 00:00:00 in
509 * @return The selected date.
516 * Sets the selected date in milliseconds since January 1, 1970 00:00:00 in
519 * @param date The selected date.
521 * @throws IllegalArgumentException of the provided date is before the
522 * minimal or after the maximal date.
528 public void setDate(long date) {
529 mDelegate.setDate(date);
533 * Sets the selected date in milliseconds since January 1, 1970 00:00:00 in
536 * @param date The date.
537 * @param animate Whether to animate the scroll to the current date.
538 * @param center Whether to center the current date even if it is already visible.
540 * @throws IllegalArgumentException of the provided date is before the
541 * minimal or after the maximal date.
546 public void setDate(long date, boolean animate, boolean center) {
547 mDelegate.setDate(date, animate, center);
551 * Retrieves the screen bounds for the specific date in the coordinate system of this
552 * view. If the passed date is being currently displayed, this method returns true and
559 public boolean getBoundsForDate(long date, Rect outBounds) {
560 return mDelegate.getBoundsForDate(date, outBounds);
620 void setDate(long date);
621 void setDate(long date, boolean animate, boolean center);
624 boolean getBoundsForDate(long date, Rect outBounds);
635 /** The default minimal date. */
638 /** The default maximal date. */
769 * Utility method for the date format used by CalendarView's min/max date.
773 public static boolean parseDate(String date, Calendar outDate) {
774 if (date == null || date.isEmpty()) {
779 final Date parsedDate = DATE_FORMATTER.parse(date);
783 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT);