Joda-Time:相当于新的DateFormatSymbols()。getMonths()?

时间:2011-08-03 07:53:15

标签: java jodatime

Joda-Time

中的以下方法的等效项

DateFormatSymbols #getMonths()

/**
 * Gets month strings. For example: "January", "February", etc.
 * @return the month strings.
 */
public String[] getMonths()

1 个答案:

答案 0 :(得分:2)

Joda实际上提供了一种访问此数据的方法:Joda 2.0中的DateTimeUtils.getDateFormatSymbols()。我不相信Joda试图取代那种方法。