static void check_datetime_round_trip_2(Sint64 timestamp) { const DateTime t = DateTime() + TimeDelta(timestamp, TimeUnit(1)); int year, month, day, hour, minute, second; t.GetDateParts(&year, &month, &day); t.GetTimeParts(&hour, &minute, &second); check_datetime_round_trip(year, month, day, hour, minute, second, false); }