function checkNativeResult(nativeMode, expected, actual) {
  if (nativeMode) {
    // Normalize for timezone names
    expected = expected.replaceAll('UTC', 'GMT');
  }
  assertEquals('nativeMode=' + nativeMode, expected, actual);
}
Check result to deal with variants in formatting innative mode.
param {boolean} nativeMode
param {string} actual