23#ifndef _STLP_INTERNAL_TIME_FACETS_H
24#define _STLP_INTERNAL_TIME_FACETS_H
26#ifndef _STLP_INTERNAL_CTIME
30#ifndef _STLP_C_LOCALE_H
34#ifndef _STLP_IOS_BASE_H
38#ifndef _STLP_INTERNAL_IOSTREAM_STRING_H
42#ifndef _STLP_FACETS_FWD_H
74 string _M_dayname[14];
75 string _M_monthname[24];
79#ifndef _STLP_NO_WCHAR_T
82 wstring _M_dayname[14];
83 wstring _M_monthname[24];
106#if defined (__BORLANDC__)
113#ifndef _STLP_NO_WCHAR_T
120#if defined (__BORLANDC__)
130template <
class _Ch,
class _InIt>
142 {
return do_get_time(__s, __end, __str, __err, __t); }
145 {
return do_get_date(__s, __end, __str, __err, __t); }
154 {
return do_get_year(__s, __end, __str, __err, __t); }
192#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
193template <
class _Ch,
class _InIt>
195template <
class _Ch,
class _InIt = istreambuf_iterator<_Ch,
char_traits<_Ch> > >
235 char __format,
char __modifier,
238#ifndef _STLP_NO_WCHAR_T
241 char __format,
char __modifier,
247template <
class _Ch,
class _OutIt>
258 const _Ch* __pat,
const _Ch* __pat_end)
const;
261 const tm* __tmb,
char __format,
char __modifier = 0)
const
262 {
return do_put(__s, __f,
__fill, __tmb, __format, __modifier); }
276 char __format,
char )
const;
279#if defined (_STLP_LIMITED_DEFAULT_TEMPLATES)
280template <
class _Ch,
class _OutIt>
282template <
class _Ch,
class _OutIt = ostreambuf_iterator<_Ch,
char_traits<_Ch> > >
309#if defined (_STLP_USE_TEMPLATE_EXPORT)
312# if !defined (_STLP_NO_WCHAR_T)
321#if defined (_STLP_EXPOSE_STREAM_IMPLEMENTATION) && !defined (_STLP_LINK_TIME_INSTANTIATION)
void __fill(_ForwardIter __first, _ForwardIter __last, const _Tp &__val, const input_iterator_tag &, _Distance *)
_STLP_MOVE_TO_PRIV_NAMESPACE _STLP_DECLSPEC void _STLP_CALL __write_formatted_time(__iostring &, const ctype< char > &__ct, char __format, char __modifier, const _Time_Info &__table, const tm *__t)
string _M_date_time_format
string _M_long_date_time_format
string _M_long_date_format
facet(size_t __init_count=0)
time_get_byname< _Ch, _InIt > _Self
dateorder do_date_order() const
_Self & operator=(_Self const &)
time_get_byname(_Self const &)
time_get_byname(const char *__name, size_t __refs=0)
time_get_byname(_Locale_time *__time)
time_base::dateorder dateorder
time_get(_Locale_time *__time)
virtual iter_type do_get_weekday(iter_type __s, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__t) const
virtual iter_type do_get_year(iter_type __s, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__t) const
virtual iter_type do_get_monthname(iter_type __s, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__t) const
iter_type get_monthname(iter_type __s, iter_type __end, ios_base &__str, ios_base::iostate &__err, tm *__t) const
iter_type get_weekday(iter_type __s, iter_type __end, ios_base &__str, ios_base::iostate &__err, tm *__t) const
virtual dateorder do_date_order() const
time_get(const char *__name, size_t __refs)
iter_type get_date(iter_type __s, iter_type __end, ios_base &__str, ios_base::iostate &__err, tm *__t) const
iter_type get_year(iter_type __s, iter_type __end, ios_base &__str, ios_base::iostate &__err, tm *__t) const
virtual iter_type do_get_time(iter_type __s, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__t) const
virtual iter_type do_get_date(iter_type __s, iter_type __end, ios_base &, ios_base::iostate &__err, tm *__t) const
time_get(size_t __refs=0)
iter_type get_time(iter_type __s, iter_type __end, ios_base &__str, ios_base::iostate &__err, tm *__t) const
dateorder date_order() const
time_base::dateorder _M_dateorder
time_base::dateorder _M_dateorder
time_put_byname(_Locale_time *__time)
time_put_byname< _Ch, _OutIt > _Self
time_base::dateorder dateorder
time_put_byname(const char *__name, size_t __refs=0)
_Self & operator=(_Self const &)
time_put_byname(_Self const &)
virtual iter_type do_put(iter_type __s, ios_base &__f, char_type, const tm *__tmb, char __format, char) const
time_put(const char *__name, size_t __refs)
time_put(size_t __refs=0)
_OutIt put(iter_type __s, ios_base &__f, _Ch __fill, const tm *__tmb, const _Ch *__pat, const _Ch *__pat_end) const
_OutIt put(iter_type __s, ios_base &__f, _Ch __fill, const tm *__tmb, char __format, char __modifier=0) const
time_put(_Locale_time *__time)
#define _STLP_TEMPLATE_NULL
#define _STLP_MOVE_TO_STD_NAMESPACE
#define _STLP_CLASS_DECLSPEC
#define _STLP_EXPORT_TEMPLATE_CLASS
#define _STLP_BEGIN_NAMESPACE
#define _STLP_END_NAMESPACE
#define _STLP_MOVE_TO_PRIV_NAMESPACE
_Check_return_ wchar_t _Ch