blob: f758547cc60acf779eeda217db778d6754f27efb [file] [log] [blame]
/*
*****************************************************************************************
* *
* COPYRIGHT: *
* (C) Copyright Taligent, Inc., 1996 *
* (C) Copyright International Business Machines Corporation, 1999 *
* Licensed Material - Program-Property of IBM - All Rights Reserved. *
* US Government Users Restricted Rights - Use, duplication, or disclosure *
* restricted by GSA ADP Schedule Contract with IBM Corp. *
* *
*****************************************************************************************
********************************************************************************
*
* File CDTDPTST.H
*
* Modification History:
* Name Description
* Madhu Katragadda Creation
*********************************************************************************
*/
/* INDEPTH TEST FOR DATE FORMAT */
#ifndef _CDTFRRGSTST
#define _CDTFRRGSTST
#include "cintltst.h"
/**
* Test the parsing of 2-digit years.
*/
void TestTwoDigitYearDSTParse(void);
/**
* Verify that strings which contain incomplete specifications are parsed
* correctly. In some instances, this means not being parsed at all, and
* returning an appropriate error.
*/
void TestPartialParse994(void);
/**
* Verify the behavior of patterns in which digits for different fields run together
* without intervening separators.
*/
void TestRunTogetherPattern985(void);
/**
* Verify the handling of Czech June and July, which have the unique attribute that
* one is a proper prefix substring of the other.
*/
void TestCzechMonths459(void);
/**
* Test the handling of single quotes in patterns.
*/
void TestQuotePattern161(void);
/*Internal functions used*/
void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
#endif