#include "ui/base/l10n/time_format.h"
#include <limits>
#include "base/check_op.h"
#include "base/component_export.h"
#include "base/lazy_instance.h"
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "third_party/icu/source/common/unicode/unistr.h"
#include "ui/base/l10n/formatter.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/strings/grit/ui_strings.h"
TimeFormat;
namespace ui {
COMPONENT_EXPORT(UI_BASE)
base::LazyInstance<FormatterContainer>::Leaky g_container = …;
std::u16string TimeFormat::Simple(TimeFormat::Format format,
TimeFormat::Length length,
const base::TimeDelta& delta) { … }
std::u16string TimeFormat::SimpleWithMonthAndYear(TimeFormat::Format format,
TimeFormat::Length length,
const base::TimeDelta& delta,
bool with_month_and_year) { … }
std::u16string TimeFormat::Detailed(TimeFormat::Format format,
TimeFormat::Length length,
int cutoff,
const base::TimeDelta& delta) { … }
std::u16string TimeFormat::DetailedWithMonthAndYear(
TimeFormat::Format format,
TimeFormat::Length length,
int cutoff,
const base::TimeDelta& delta,
bool with_month_and_year) { … }
std::u16string TimeFormat::RelativeDate(
const base::Time& time,
const base::Time* optional_midnight_today) { … }
}