public String toString(final Locale locale) {
if (locale == null || locale == Locale.ROOT) {
return toString();
}
final RangeFormat format = new RangeFormat(locale, getElementType());
return format.format(this);
}
/**
* Builds, caches and returns the unlocalized string representation of this range.
*/