nl_tokens: * @method reset ( [ unit ] = hours ) @returns Date @short Resets the unit passed and all smaller units . Default is hours effectively resetting the time . @example
pl_tokens: function ( unit ) { var params = { } , recognized ; unit = unit || 'hours' ; if ( unit === 'date' ) unit = 'days' ; recognized = DateUnits . some ( function ( u ) { return unit === u . unit || <mask> === u . unit + 's' ; } ) ; params [ unit ] = unit . match ( / ^days? / ) ? 1 : 0 ; return recognized ? this . set ( params , true ) : this ; }