DateTime: fixed conversion to/from calendar values.
DateTime refactoring, added DateTime::strftime.