home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c083 / 20.ddi / CLASSSRC.PAK / TIMEP.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-02  |  1.1 KB  |  34 lines

  1. /*------------------------------------------------------------------------*/
  2. /*                                                                        */
  3. /*  DATEP.CPP                                                             */
  4. /*                                                                        */
  5. /*  Copyright Borland International 1993                                  */
  6. /*  All Rights Reserved                                                   */
  7. /*                                                                        */
  8. /*------------------------------------------------------------------------*/
  9.  
  10. #if !defined( __STRSTREA_H )
  11. #include <strstrea.h>
  12. #endif    // __STRSTREA_H
  13.  
  14. #if !defined( __CLASSLIB_TIME_H )
  15. #include "classlib\time.h"
  16. #endif    // __CLASSLIB_TIME_H
  17.  
  18. #if !defined( __CLASSLIB_OBJSTRM_H )
  19. #include "classlib\objstrm.h"
  20. #endif    // __CLASSLIB_OBJSTRM_H
  21.  
  22. opstream _BIDSFAR & _BIDSFUNC operator << ( opstream _BIDSFAR & os, const TTime _BIDSFAR & d )
  23. {
  24.     return os << d.Sec;
  25. }
  26.  
  27. ipstream _BIDSFAR & _BIDSFUNC operator >> ( ipstream _BIDSFAR & is, TTime _BIDSFAR & d )
  28. {
  29.     return is >> d.Sec;
  30. }
  31.  
  32.  
  33.  
  34.