internal static System_DateTime Max(System_DateTime d1, System_DateTime d2) { return (d1 > d2) ? d1 : d2; }