2 ********************************************************************************
3 * Copyright (C) 2012-2014, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 ********************************************************************************/
10 #include "unicode/utypes.h"
13 #if UCONFIG_FORMAT_FASTPATHS_49
17 enum EDecimalFormatFastpathStatus
{
20 kFastpathUNKNOWN
= 2 /* not yet set */
24 * Must be smaller than DecimalFormat::fReserved
26 struct DecimalFormatInternal
{
27 uint8_t fFastFormatStatus
;
28 uint8_t fFastParseStatus
;
30 DecimalFormatInternal
&operator=(const DecimalFormatInternal
& rhs
) {
31 fFastParseStatus
= rhs
.fFastParseStatus
;
32 fFastFormatStatus
= rhs
.fFastFormatStatus
;
37 printf("DecimalFormatInternal: fFastFormatStatus=%c, fFastParseStatus=%c\n",
38 "NY?"[(int)fFastFormatStatus
&3],
39 "NY?"[(int)fFastParseStatus
&3]