A few optimizations to adjustForDateLine.