53 _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,D5,T6> >
Time (
const timeval& aTime )
55 return _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,D5,T6> > ( aTime );
65 _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,' ',null> >
Time (
const timeval& aTime )
67 return _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,' ',null> > ( aTime );
76 _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,' ',null,' ',null> >
Time (
const timeval& aTime )
78 return _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,' ',null,' ',null> > ( aTime );
86 _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,' ',null,' ',null,' ',null> >
Time (
const timeval& aTime )
88 return _Time< TimeFmt<T0,D0,T1,D1,T2,D2,T3,' ',null,' ',null,' ',null> > ( aTime );
95 _Time< TimeFmt<T0,D0,T1,D1,T2,' ',null,' ',null,' ',null,' ',null> >
Time (
const timeval& aTime )
97 return _Time< TimeFmt<T0,D0,T1,D1,T2,' ',null,' ',null,' ',null,' ',null> > ( aTime );
103 _Time< TimeFmt<T0,D0,T1,' ',null,' ',null,' ',null,' ',null,' ',null> >
Time (
const timeval& aTime )
105 return _Time< TimeFmt<T0,D0,T1,' ',null,' ',null,' ',null,' ',null,' ',null> > ( aTime );
109 template< time_element T0 >
110 _Time< TimeFmt<T0,' ',null,' ',null,' ',null,' ',null,' ',null,' ',null> >
Time (
const timeval& aTime )
112 return _Time< TimeFmt<T0,' ',null,' ',null,' ',null,' ',null,' ',null,' ',null> > ( aTime );
125 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,D5,T6> >& aTime )
127 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
128 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
130 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
132 print< T2 > ( aStr , lLocalTime , aTime.value().tv_usec );
134 print< T3 > ( aStr , lLocalTime , aTime.value().tv_usec );
136 print< T4 > ( aStr , lLocalTime , aTime.value().tv_usec );
138 print< T5 > ( aStr , lLocalTime , aTime.value().tv_usec );
140 print< T6 > ( aStr , lLocalTime , aTime.value().tv_usec );
150 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,D4,T5,' ',null> >& aTime )
152 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
153 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
155 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
157 print< T2 > ( aStr , lLocalTime , aTime.value().tv_usec );
159 print< T3 > ( aStr , lLocalTime , aTime.value().tv_usec );
161 print< T4 > ( aStr , lLocalTime , aTime.value().tv_usec );
163 print< T5 > ( aStr , lLocalTime , aTime.value().tv_usec );
172 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,D1,T2,D2,T3,D3,T4,' ',null,' ',null> >& aTime )
174 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
175 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
177 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
179 print< T2 > ( aStr , lLocalTime , aTime.value().tv_usec );
181 print< T3 > ( aStr , lLocalTime , aTime.value().tv_usec );
183 print< T4 > ( aStr , lLocalTime , aTime.value().tv_usec );
191 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,D1,T2,D2,T3,' ',null,' ',null,' ',null> >& aTime )
193 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
194 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
196 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
198 print< T2 > ( aStr , lLocalTime , aTime.value().tv_usec );
200 print< T3 > ( aStr , lLocalTime , aTime.value().tv_usec );
207 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,D1,T2,' ',null,' ',null,' ',null,' ',null> >& aTime )
209 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
210 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
212 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
214 print< T2 > ( aStr , lLocalTime , aTime.value().tv_usec );
220 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,D0,T1,' ',null,' ',null,' ',null,' ',null,' ',null> >& aTime )
222 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
223 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
225 print< T1 > ( aStr , lLocalTime , aTime.value().tv_usec );
229 template< time_element T0 >
230 std::ostream&
operator<< ( std::ostream& aStr ,
const _Time<
TimeFmt<T0,' ',null,' ',null,' ',null,' ',null,' ',null,' ',null> >& aTime )
232 tm* lLocalTime ( localtime ( &aTime.value().tv_sec ) );
233 print< T0 > ( aStr , lLocalTime , aTime.value().tv_usec );
240 template<
typename FORMAT >