blob: 443cc89ed17b9003f776046fc7ccf23ad7d4f692 [file] [log] [blame]
Henrique Nakashimab9776c72017-06-23 15:03:50 -04001// Copyright 2014 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "testing/fx_string_testhelpers.h"
6
7#include <iomanip>
8#include <ios>
9#include <string>
10
11std::ostream& operator<<(std::ostream& os, const CFX_DateTime& dt) {
12 os << dt.GetYear() << "-" << std::to_string(dt.GetMonth()) << "-"
13 << std::to_string(dt.GetDay()) << " " << std::to_string(dt.GetHour())
14 << ":" << std::to_string(dt.GetMinute()) << ":"
15 << std::to_string(dt.GetSecond()) << "."
16 << std::to_string(dt.GetMillisecond());
17 return os;
18}