Convert LocalDateTime to/from TM

The MAXON API provides the developer with two practical global functions to convert maxon::LocalDateTime to ANSI tm struct and vice versa.

Provided functions are:

From LocalDateTime to ANSI tm:

// This example converts a LocalDateTime to a tm.
const Int32 year = 2016;
const Int32 month = 7;
const Int32 day = 1;
const Int32 hour = 9;
const Int32 minute = 0;
const Int32 second = 0;
const maxon::LocalDateTime ldt = maxon::LocalDateTime::FromValues(year, month, day, hour, minute, second) iferr_return;
const tm tmvalue = ConvertLocalDateTimeToTM(ldt);

From ANSI tm to maxon::LocalDateTime:

// This example converts a tm object to a LocalDateTime object.
tm tmvalue;
tmvalue.tm_year = 2016;
tmvalue.tm_mon = 7;
tmvalue.tm_mday = 1;
tmvalue.tm_hour = 9;
tmvalue.tm_min = 0;
tmvalue.tm_sec = 0;