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

In my case,
I use date before 1900 for reconrding some law and made research on it.