The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
strftime.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2013 - 2016 by Andrius Silinskas <[email protected]>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef STRFTIME_HPP_INCLUDED
16 #define STRFTIME_HPP_INCLUDED
17 
18 #include <ctime>
19 #include <string>
20 
21 namespace util {
22 
23 /*
24  * std::strftime wrapper to support date translations and
25  * add missing am/pm designations.
26  */
27 size_t strftime(char* str, size_t count, const std::string& format,
28  const std::tm* time);
29 
30 }
31 
32 #endif
size_t strftime(char *str, size_t count, const std::string &format, const std::tm *time)
Definition: strftime.cpp:132
GLuint GLuint GLsizei count
Definition: glew.h:1221
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: glew.h:1222
GLsizei const GLcharARB ** string
Definition: glew.h:4503