blob: 437902ff5b8d909ae68eab89e82b1baaf1d9044e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
// file : xsde/cxx/serializer/validating/time-zone.hxx
// copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
#ifndef XSDE_CXX_SERIALIZER_VALIDATING_TIME_ZONE_HXX
#define XSDE_CXX_SERIALIZER_VALIDATING_TIME_ZONE_HXX
#include <xsde/cxx/date-time.hxx>
namespace xsde
{
namespace cxx
{
namespace serializer
{
namespace validating
{
namespace bits
{
// Returns 0 in case of a failure and the number of
// characters written otherwise. The buffer should
// have space for at least 7 characters. Note that
// this function expects that the time zone was
// verified by valid_time_zone() above.
//
int
serialize_time_zone (char* s, const time_zone&);
bool
valid_time_zone (const time_zone&);
}
}
}
}
}
#include <xsde/cxx/serializer/validating/time-zone.ixx>
#endif // XSDE_CXX_SERIALIZER_VALIDATING_TIME_ZONE_HXX
|