getWeekYear()
Returns the Week Year represented by this calendar.
Syntax
Numeric getWeekYear()
Usage
For example, return the value of the
Week Year calendar field by calling:
Calendar.fromDate(Date.fromIsoValue(orderline.orders.orderdate.isoValue),"YYYY-MM-DD").getWeekYear()This example populates a Decimal Format Box.