ICU-714 NONE fix for win32
X-SVN-Rev: 2904
This commit is contained in:
parent
146231f675
commit
a2ddfe0ef7
@ -174,7 +174,7 @@ DateFormat::createDateInstance(DateFormat::EStyle style,
|
||||
// LocaleElements.
|
||||
if(style != kNone)
|
||||
{
|
||||
style += kDateOffset;
|
||||
style = (EStyle) (style + kDateOffset);
|
||||
}
|
||||
return create(kNone, (EStyle) (style), aLocale);
|
||||
}
|
||||
@ -188,7 +188,7 @@ DateFormat::createDateTimeInstance(EStyle dateStyle,
|
||||
{
|
||||
if(dateStyle != kNone)
|
||||
{
|
||||
dateStyle += kDateOffset;
|
||||
dateStyle = (EStyle) (dateStyle + kDateOffset);
|
||||
}
|
||||
return create(timeStyle, dateStyle, aLocale);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user