Logo Search packages:      
Sourcecode: icu version File versions  Download package

DateIntervalInfo::DateIntervalInfo ( UErrorCode status  ) 

Default constructor. It does not initialize any interval patterns except that it initialize default fall-back pattern as "{0} - {1}", which can be reset by setFallbackIntervalPattern(). It should be followed by setFallbackIntervalPattern() and setIntervalPattern(), and is recommended to be used only for power users who wants to create their own interval patterns and use them to create date interval formatter.

status output param set to success/failure code on exit

For internal use only.

ICU 4.0

Definition at line 61 of file dtitvinf.cpp.

References initHash().

Referenced by clone().

:   fFallbackIntervalPattern(gDefaultFallbackPattern),
    fIntervalPatterns = initHash(status);

Generated by  Doxygen 1.6.0   Back to index