There are two reasons for doing this: one is to get an array or collection of
dates that is correct for the currently selected month (e.g. array of numbers
with a length of 28, 29 or 30, etc.) and the other is to properly resolve the
type of numbers used in a particular calendar in a particular locale.
For example, a customer in Egypt has informed me that they use the Hindi numbers
on their calendar there, not English or Arabic numbers. (Similarly, the Thai
calendar uses Thai numbers, etc.) So currently I have to get the month names
and weekday names from ICU's DateFormat, while I have to get all the numbers
from our internal resource bundle in order to build a calendar GUI because ICU
does not support this. I think it would be better to get all the relevant
strings to build a calendar GUI from one place if possible. Thanks.