nl_tokens: Get the numeric day number of the year adjusted for leap year .
pl_tokens: function ( date ) { var num = 0 , d = Ext . Date . <mask> ( date ) , m = date . getMonth ( ) , i ; for ( i = 0 , d . setDate ( 1 ) , d . setMonth ( 0 ) ; i < m ; d . setMonth ( ++ i ) ) { num += utilDate . getDaysInMonth ( d ) ; } return num + date . getDate ( ) - 1 ; }