/home/ntakagi/work/STLport-5.1.5/src/time_facets.cpp File Reference

#include "stlport_prefix.h"
#include <cstdio>
#include <locale>
#include <istream>
#include "c_locale.h"

Go to the source code of this file.

Defines

#define __hour12(hour)   (((hour) % 12 == 0) ? (12) : (hour) % 12)
#define _STLP_SPRINTF(B, BS, F, D)   sprintf(B, F, D)

Functions

void _STLP_CALL _Init_timeinfo (_Time_Info &table)
void _STLP_CALL _Init_timeinfo (_Time_Info &table, _Locale_time *time)
char * __subformat (const string &format, char *&buf, size_t buf_size, const _Time_Info &table, const tm *t)
char *_STLP_CALL __write_formatted_time (char *buf, size_t buf_size, char format, char modifier, const _Time_Info &table, const tm *t)
time_base::dateorder _STLP_CALL __get_date_order (_Locale_time *time)

Variables

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE
const char 
default_dayname [][14]
const char default_monthname [][24]
_STLP_MOVE_TO_STD_NAMESPACE
template class 
time_get< char, istreambuf_iterator< char, char_traits< char > > >


Define Documentation

#define __hour12 ( hour   )     (((hour) % 12 == 0) ? (12) : (hour) % 12)

Definition at line 134 of file time_facets.cpp.

Referenced by __write_formatted_time().

#define _STLP_SPRINTF ( B,
BS,
F,
 )     sprintf(B, F, D)

Definition at line 138 of file time_facets.cpp.

Referenced by __write_formatted_time().


Function Documentation

char* __subformat ( const string format,
char *&  buf,
size_t  buf_size,
const _Time_Info table,
const tm *  t 
) [inline]


Variable Documentation

_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE const char default_dayname[][14]

Initial value:

 {
  "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat",
  "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",
  "Friday", "Saturday"}

Definition at line 34 of file time_facets.cpp.

Referenced by _Init_timeinfo().

const char default_monthname[][24]

Initial value:

 {
  "Jan", "Feb", "Mar", "Apr", "May", "Jun",
  "Jul", "Aug", "Sep", "Oct", "Nov", "Dec",
  "January", "February", "March", "April", "May", "June",
  "July", "August", "September", "October", "November", "December"}

Definition at line 39 of file time_facets.cpp.

Referenced by _Init_timeinfo().

_STLP_MOVE_TO_STD_NAMESPACE template class time_get< char, istreambuf_iterator< char, char_traits< char > > >

Definition at line 442 of file time_facets.cpp.



Generated on Mon Mar 10 15:32:48 2008 by  doxygen 1.5.1