getWeeksInWeekYear()

Returns the number of weeks in the week year represented by this calendar.

Syntax

Numeric getWeeksInWeekYear()

Example

If this calendars's date is December 31, 2008 with the ISO 8601 compatible setting, this method returns 53 for the period: December 29, 2008 to January 3, 2010 while getActualWeekOfYearMaximum() returns 52 for the period: December 31, 2007 to December 28, 2008.