setMinimalDaysInFirstWeek()

Sets the minimal days required in the first week of the year.

Syntax

Calendar setMinimalDaysInFirstWeek(Numeric value)
  1. value is the minimal days required in the first week of the year.

Usage

For example, if the first week is defined as one that contains the first day of the first month of a year, call this method with a value of 1. If it must be a full week, use a value of 7.