DateTime object for java environment