/// <summary>
 /// resultCode == <see cref="XingePushClientResultCode.请求时间戳不在有效期内_0xFFFFFFFE"/> || <see cref="XingePushClientResultCode.请求时间戳不在有效期内_0xFFFFFF9A"/> (检查 timestamp 和 valid_time 参数)。
 /// </summary>
 /// <param name="resultCode"></param>
 /// <returns></returns>
 public static bool IsRequestTimestampIsNotWithinTheValidityPeriod
     (this XingePushClientResultCode resultCode)
 => resultCode == XingePushClientResultCode.请求时间戳不在有效期内_0xFFFFFFFE ||
 resultCode == XingePushClientResultCode.请求时间戳不在有效期内_0xFFFFFF9A;
 /// <summary>
 /// resultCode == <see cref="XingePushClientResultCode.信鸽服务器处理错误_0xFFFFFFFD"/> ||
 /// <see cref="XingePushClientResultCode.信鸽服务器处理错误_0xFFFFFFFB"/> ||
 /// <see cref="XingePushClientResultCode.信鸽服务器处理错误_0x05"/> ||
 /// <see cref="XingePushClientResultCode.内部错误"/>
 /// (稍后重试)。
 /// </summary>
 /// <param name="resultCode"></param>
 /// <returns></returns>
 public static bool IsXgPushServerError(this XingePushClientResultCode resultCode)
 =>
 resultCode == XingePushClientResultCode.信鸽服务器处理错误_0xFFFFFFFD ||
 resultCode == XingePushClientResultCode.信鸽服务器处理错误_0xFFFFFFFB ||
 resultCode == XingePushClientResultCode.信鸽服务器处理错误_0x05 ||
 resultCode == XingePushClientResultCode.内部错误;
 /// <summary>
 /// resultCode == <see cref="XingePushClientResultCode.调用成功"/> 。
 /// </summary>
 /// <param name="resultCode"></param>
 /// <returns></returns>
 public static bool IsSuccess(this XingePushClientResultCode resultCode)
 => resultCode == XingePushClientResultCode.调用成功;