lib/date.js
function iterateOverDateUnits(fn, startIndex, endIndex) {
  endIndex = endIndex || 0;
  if (isUndefined(startIndex)) {
    startIndex = YEAR_INDEX;
  }
  for (var index = startIndex; index >= endIndex; index--) {
    if (fn(DateUnits[index], index) === false) {
      break;
    }
  }
}
function iterateOverDateUnits(fn, startIndex, endIndex) {
  endIndex = endIndex || 0;
  if (isUndefined(startIndex)) {
    startIndex = YEAR_INDEX;
  }
  for (var index = startIndex; index >= endIndex; index--) {
    if (fn(DateUnits[index], index) === false) {
      break;
    }
  }
}
function iterateOverDateUnits ( fn , startIndex , endIndex ) { endIndex = endIndex || 0 ; if ( isUndefined ( startIndex ) ) { startIndex = YEAR_INDEX ; } for ( var index = startIndex ; index >= endIndex ; index -- ) { if ( fn ( DateUnits [ index ] , index ) === false ) { break ; } } }
Iteration helpers Years -> Milliseconds
Iteration helpers Years - > Milliseconds