Logo Search packages:      
Sourcecode: icu version File versions

UBool SimpleDateFormat::isFieldUnitIgnored ( UCalendarDateFields  field ) const

This is for ICU internal use only. Please do not use. Check whether the 'field' is smaller than all the fields covered in pattern, return TRUE if it is. The sequence of calendar field, from large to small is: ERA, YEAR, MONTH, DATE, AM_PM, HOUR, MINUTE,...

Parameters:
fieldthe calendar field need to check against
Returns:
TRUE if the 'field' is smaller than all the fields covered in pattern. FALSE otherwise. ICU 4.0

Definition at line 3336 of file smpdtfmt.cpp.

References fPattern.

Referenced by DateIntervalFormat::format(), and DateIntervalFormat::setIntervalPattern().

                                                                    {
    return isFieldUnitIgnored(fPattern, field);
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index