Lines Matching refs:time
10 #include "base/time.h"
15 using base::Time;
20 const Time& time) {
24 formatter->format(static_cast<UDate>(time.ToDoubleT() * 1000), date_string);
33 string16 TimeFormatTimeOfDay(const Time& time) {
38 return TimeFormat(formatter.get(), time);
41 string16 TimeFormatTimeOfDayWithHourClockType(const Time& time,
47 return TimeFormatTimeOfDay(time);
63 // Then, format the time using the generated pattern.
66 return TimeFormat(&formatter, time);
69 string16 TimeFormatShortDate(const Time& time) {
72 return TimeFormat(formatter.get(), time);
75 string16 TimeFormatShortDateNumeric(const Time& time) {
78 return TimeFormat(formatter.get(), time);
81 string16 TimeFormatShortDateAndTime(const Time& time) {
84 return TimeFormat(formatter.get(), time);
87 string16 TimeFormatFriendlyDateAndTime(const Time& time) {
90 return TimeFormat(formatter.get(), time);
93 string16 TimeFormatFriendlyDate(const Time& time) {
96 return TimeFormat(formatter.get(), time);
101 // once it becomes public. The short time format can be found at
106 // Retrieve the short time format.
111 // "a" (am/pm marker) in the short time format. This is reliable as "a"
131 // about the date/time format syntax.