getWeekOfYear()

Returns the value of the Week of Year calendar field. All calendar fields are normalized.

Syntax

Numeric getWeekOfYear()

Usage

For example, return the value of the Week of Year calendar field by calling:
Calendar.fromDate(Date.parseString("08/01/1999","mm/dd/yyyy")).getWeekOfYear()

This example populates a Decimal Format Box.