Some refactoring DateTime classes.