Add missing methods to Python Date/Time/Delta objects
In the mtime Python module, methods to query the underlying fields like year, month etc. from the container classes was missing (except for an items method in TimeDelta)
- all classes now expose the fields defined by the
ctypesbinding - the
test_pythonscript has been extended/re-structured to allow for the large number of new test cases - during testing a mismatch between the C struct and the binding for
TimeDeltawas found and fixed. The missing field had shadowed thesignfield. - in my understanding, the missing
TimeDeltafieldflag_std_formis for internal use, so it is mapped to_flag_std_formand suppressed in theitems()iterator