nl_tokens: * @method setISOWeek () @returns Nothing @short Sets the week ( of the year ) as defined by the ISO - 8601 standard . @extra Note that this standard places Sunday at the end of the week ( day 7 ) .
pl_tokens: function ( week ) { var weekday = callDateGet ( this , 'Day' ) || 7 ; if ( isUndefined ( week ) ) return ; this . <mask> ( { 'month' : 0 , 'date' : 4 } ) ; this . set ( { 'weekday' : 1 } ) ; if ( week > 1 ) { this . addWeeks ( week - 1 ) ; } if ( weekday !== 1 ) { this . advance ( { 'days' : weekday - 1 } ) ; } return this . getTime ( ) ; }