DateTime: use static instead of self
Merge pull request #1233 from xificurk/datetime-patch1

DateTime: use static instead of self