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