Fixed ValueError in DateComponents.result() with a date before 1900 and add test