rollWeekOfYear()

Adds the specified (signed) amount to the Week of Year field, without changing larger fields.

Syntax

Calendar rollWeekOfYear(Numeric amount)
  1. amount is the signed amount to add to the Week of Year field.

Usage

For example, to add a week to the Week of Year field, call rollWeekOfYear(1).