Lines Matching defs:day

302      * Return a string for the day of the week.
371 * a day of the month.
578 // above a week or exact dates below a day, so clamp
601 * Returns a string describing a day relative to the current day. For example if the day is
602 * today this function returns "Today", if the day was a week ago it returns "7 days ago", and
603 * if the day is in 2 weeks it returns "in 14 days".
606 * @param day the relative day to describe in UTC milliseconds
610 private static final String getRelativeDayString(Resources r, long day, long today) {
612 startTime.set(day);
616 int startDay = Time.getJulianDay(day, startTime.gmtoff);
620 boolean past = (today > day);
782 * Format a date / time such that if the then is on the same day as now, it shows
783 * just the time and if it's a different day, it shows just the date.
1082 * Normally the date is shown unless the start and end day are the same.
1084 * same day ranges.
1088 * month name will be shown, not the day of the month. For example,
1218 // If the end date ends at 12am at the beginning of a day,
1220 // the previous day. This will allow us to display "8pm - midnight",
1222 // this if it is midnight of the same day as the start date because
1223 // for multiple-day events, an end time of "midnight on Nov 11" is
1227 // for multiple-day events. This is to allow us to display, for
1424 // Different year or we are not showing the month day number.
1437 // Get the month, day, and year strings for the start and end dates
1479 // Same month, different day.
1497 // Same start and end day
1562 * time is shown, if the day of the week is shown, if the month name is
1611 * <li>"millis=11:30pm the day before" will be displayed as "Mar 30"</li>
1640 // Same day