add date compare class.
add some compare methods to date time class.