Lines Matching defs:Format
19 // Methods to format time values as strings.
22 enum Format {
26 FORMAT_COUNT // Enum size counter, not a format. Must be last.
30 LENGTH_SHORT, // Short format, e.g. in English: sec/min/hour/day.
31 LENGTH_LONG, // Long format, e.g. in English: second/minute/hour/day.
37 // of format and length except (FORMAT_ELAPSED, LENGTH_LONG) are implemented
39 static base::string16 Simple(Format format,
48 // Otherwise, choice of format happens automatically and the value of |cutoff|
50 // format -- for lower numeric values, a second unit is added to increase
62 // Currently, the only combination of format and length that is implemented is
71 static base::string16 Detailed(Format format,