DateUtils:
 - fixed internal method calls
 - fixed compile errors