190 <<
"Example 4: How about leap-years?\n" 194 first=
"1979/02/15"; second=
"1979/03/01";
196 <<
" The time span between " << string(first) << endl
197 <<
" and " << string(second) << endl
198 <<
" is " << string(second-first) << endl;
200 first=
"1980/02/15"; second=
"1980/03/01";
202 <<
" The time span between " << string(first) << endl
203 <<
" and " << string(second) << endl
204 <<
" is " << string(second-first) << endl;
206 first=
"2000/02/15"; second=
"2000/03/01";
208 <<
" The time span between " << string(first) << endl
209 <<
" and " << string(second) << endl
210 <<
" is " << string(second-first) << endl;
212 first=
"2100/02/15"; second=
"2100/03/01";
214 <<
" The time span between " << string(first) << endl
215 <<
" and " << string(second) << endl
216 <<
" is " << string(second-first) << endl;
class to contain absolute times