Date calculation library.