Lines Matching defs:now
345 * Returns a string describing 'time' as a time relative to 'now'.
351 * @param now the current time in milliseconds
356 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution) {
358 return getRelativeTimeSpanString(time, now, minResolution, flags);
362 * Returns a string describing 'time' as a time relative to 'now'.
371 * @param now the current time in milliseconds
381 public static CharSequence getRelativeTimeSpanString(long time, long now, long minResolution,
386 boolean past = (now >= time);
387 long duration = Math.abs(now - time);
437 count = getNumberOfDaysPassed(time, now);
506 long now = System.currentTimeMillis();
507 long duration = Math.abs(now - time);
522 CharSequence relativeClause = getRelativeTimeSpanString(time, now, minResolution, flags);
710 * Format a date / time such that if the then is on the same day as now, it shows
722 * @param now the base time
726 public static final CharSequence formatSameDayTime(long then, long now,
732 nowCal.setTimeInMillis(now);
1558 long now = System.currentTimeMillis();
1559 long span = Math.abs(now - millis);
1570 sNowTime.set(now);