Home | History | Annotate | Download | only in cintltst
      1 /********************************************************************
      2  * COPYRIGHT:
      3  * Copyright (c) 1997-2001, International Business Machines Corporation and
      4  * others. All Rights Reserved.
      5  ********************************************************************/
      6 /********************************************************************************
      7 *
      8 * File CDTDPTST.H
      9 *
     10 * Modification History:
     11 *        Name                     Description
     12 *     Madhu Katragadda               Creation
     13 *********************************************************************************
     14 */
     15 /* INDEPTH TEST FOR DATE FORMAT */
     16 #ifndef _CDTFRRGSTST
     17 #define _CDTFRRGSTST
     18 
     19 #include "unicode/utypes.h"
     20 
     21 #if !UCONFIG_NO_FORMATTING
     22 
     23 #include "cintltst.h"
     24 
     25 /**
     26  * Test the parsing of 2-digit years.
     27  */
     28 void TestTwoDigitYearDSTParse(void);
     29 /**
     30  * Verify that strings which contain incomplete specifications are parsed
     31  * correctly.  In some instances, this means not being parsed at all, and
     32  * returning an appropriate error.
     33  */
     34 void TestPartialParse994(void);
     35 /**
     36  * Verify the behavior of patterns in which digits for different fields run together
     37  * without intervening separators.
     38  */
     39 void TestRunTogetherPattern985(void);
     40 
     41 /**
     42  * Verify the handling of Czech June and July, which have the unique attribute that
     43  * one is a proper prefix substring of the other.
     44  */
     45 void TestCzechMonths459(void);
     46 
     47 /**
     48  * Test the handling of single quotes in patterns.
     49  */
     50 void TestQuotePattern161(void);
     51 
     52 /*Internal functions used*/
     53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
     54 
     55 #endif /* #if !UCONFIG_NO_FORMATTING */
     56 
     57 #endif
     58