How to format incomplete dates and times in a locale specific manner
问题 How can one format incomplete dates and/or a times in a locale specific manner? I have a date/time stored in a set of 7 strings: dayOfWeek - The day of the week. ([1,7]) dayOfMonth - The day of the month. ([1,31]) monthOfYear - The month of the year. ([0,11]) year - The year. ([-∞,∞]) hourOfDay - The hour of the day. ([0,11]) minuteOfHour - The minute of the hour. ([0,59]) meridianOfDay - The meridian of the day. ([0,1]) For various reasons, most of these are obtained through use of IR on web