Home | History | Annotate | Download | only in format

Lines Matching refs: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,
1160 * If the end date ends at 12:00am at the beginning of a day, it is
1161 * formatted as the end of the previous day in two scenarios:
1163 * <li>For single day
1421 // Different year or we are not showing the month day number.
1434 // Get the month, day, and year strings for the start and end dates
1476 // Same month, different day.
1494 // Same start and end day
1559 * time is shown, if the day of the week is shown, if the month name is
1608 * <li>"millis=11:30pm the day before" will be displayed as "Mar 30"</li>
1637 // Same day