home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 6 / AACD06.ISO / AACD / Programming / ICU / src / icu / source / test / cintltst / cdattst.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-16  |  2.0 KB  |  50 lines

  1. /*
  2. *****************************************************************************************
  3. *                                                                                       *
  4. * COPYRIGHT:                                                                            *
  5. *   (C) Copyright Taligent, Inc.,  1996                                                 *
  6. *   (C) Copyright International Business Machines Corporation,  1999                    *
  7. *   Licensed Material - Program-Property of IBM - All Rights Reserved.                  *
  8. *   US Government Users Restricted Rights - Use, duplication, or disclosure             *
  9. *   restricted by GSA ADP Schedule Contract with IBM Corp.                              *
  10. *                                                                                       *
  11. *****************************************************************************************
  12. ********************************************************************************
  13. *
  14. * File CDATTST.H
  15. *
  16. * Modification History:
  17. *        Name                     Description            
  18. *     Madhu Katragadda               Creation
  19. *********************************************************************************
  20. */
  21. /* C API TEST FOR DATE FORMAT */
  22. #ifndef _CDATFRMTST
  23. #define _CDATFRMTST
  24.  
  25. #include "cintltst.h"
  26.  
  27.     /**
  28.      * The function used to test the Date format API
  29.      **/
  30.     static void TestDateFormat(void);
  31.  
  32.     /**
  33.      * The function used to test API  udat_getSymbols(), udat_setSymbols() and udat_countSymbols()
  34.      **/
  35.     static void TestSymbols(void);
  36.  
  37.     /**
  38.      * test subroutines used by TestSymbols
  39.      **/
  40.     void VerifygetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
  41.     void VerifysetSymbols(UDateFormat*, UDateFormatSymbolType, int32_t, const char*);
  42.     void VerifygetsetSymbols(UDateFormat*, UDateFormat*, UDateFormatSymbolType, int32_t);
  43.     
  44.     /**
  45.      * test subroutine used by the testing functions
  46.      **/
  47.     UChar* myNumformat(const UNumberFormat* numfor, double d);
  48.  
  49. #endif
  50.