nl_tokens: * Number module
pl_tokens: function buildNumberToDateAlias ( u , multiplier ) { var <mask> = u . unit , methods = { } ; function base ( ) { return round ( this * multiplier ) ; } function after ( ) { return createDate ( arguments ) [ u . addMethod ] ( this ) ; } function before ( ) { return createDate ( arguments ) [ u . addMethod ] ( - this ) ; } methods [ unit ] = base ; methods [ unit + 's' ] = base ; methods [ unit + 'Before' ] = before ; methods [ unit + 'sBefore' ] = before ; methods [ unit + 'Ago' ] = before ; methods [ unit + 'sAgo' ] = before ; methods [ unit + 'After' ] = after ; methods [ unit + 'sAfter' ] = after ; methods [ unit + 'FromNow' ] = after ; methods [ unit + 'sFromNow' ] = after ; number . extend ( methods ) ; }