// Token: 0x060005DF RID: 1503 RVA: 0x00029210 File Offset: 0x00027410 internal static bool smethod_16(string string_0, DateTimeZoneHandling dateTimeZoneHandling_0, string string_1, IFormatProvider iformatProvider_0, out DateTime dateTime_0) { if (string_0.Length > 0) { if (string_0[0] == '/') { if (string_0.Length >= 9 && string_0.StartsWith("/Date(", StringComparison.Ordinal) && string_0.EndsWith(")/", StringComparison.Ordinal) && Class25.xkTsxUkKek(new Struct8(string_0.ToCharArray(), 0, string_0.Length), dateTimeZoneHandling_0, out dateTime_0)) { return(true); } } else if (string_0.Length >= 19 && string_0.Length <= 40 && char.IsDigit(string_0[0]) && string_0[10] == 'T' && DateTime.TryParseExact(string_0, "yyyy-MM-ddTHH:mm:ss.FFFFFFFK", CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind, out dateTime_0)) { dateTime_0 = Class25.smethod_2(dateTime_0, dateTimeZoneHandling_0); return(true); } if (!string.IsNullOrEmpty(string_1) && Class25.smethod_20(string_0, dateTimeZoneHandling_0, string_1, iformatProvider_0, out dateTime_0)) { return(true); } } dateTime_0 = default(DateTime); return(false); }
// Token: 0x060005DE RID: 1502 RVA: 0x00029140 File Offset: 0x00027340 internal static bool smethod_15(Struct8 struct8_0, DateTimeZoneHandling dateTimeZoneHandling_0, string string_0, IFormatProvider iformatProvider_0, out DateTime dateTime_0) { if (struct8_0.method_2() > 0) { int num = struct8_0.method_1(); if (struct8_0[num] == '/') { if (struct8_0.method_2() >= 9 && struct8_0.smethod_1("/Date(") && struct8_0.smethod_2(")/") && Class25.xkTsxUkKek(struct8_0, dateTimeZoneHandling_0, out dateTime_0)) { return(true); } } else if (struct8_0.method_2() >= 19 && struct8_0.method_2() <= 40 && char.IsDigit(struct8_0[num]) && struct8_0[num + 10] == 'T' && Class25.smethod_12(struct8_0, dateTimeZoneHandling_0, out dateTime_0)) { return(true); } if (!string.IsNullOrEmpty(string_0) && Class25.smethod_20(struct8_0.ToString(), dateTimeZoneHandling_0, string_0, iformatProvider_0, out dateTime_0)) { return(true); } } dateTime_0 = default(DateTime); return(false); }