// Token: 0x060005E1 RID: 1505 RVA: 0x000293C4 File Offset: 0x000275C4 internal static bool smethod_18(string string_0, string string_1, IFormatProvider iformatProvider_0, out DateTimeOffset dateTimeOffset_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.smethod_21(new Struct8(string_0.ToCharArray(), 0, string_0.Length), out dateTimeOffset_0)) { return(true); } } else if (string_0.Length >= 19 && string_0.Length <= 40 && char.IsDigit(string_0[0]) && string_0[10] == 'T' && DateTimeOffset.TryParseExact(string_0, "yyyy-MM-ddTHH:mm:ss.FFFFFFFK", CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind, out dateTimeOffset_0) && Class25.smethod_13(new Struct8(string_0.ToCharArray(), 0, string_0.Length), out dateTimeOffset_0)) { return(true); } if (!string.IsNullOrEmpty(string_1) && Class25.smethod_22(string_0, string_1, iformatProvider_0, out dateTimeOffset_0)) { return(true); } } dateTimeOffset_0 = default(DateTimeOffset); return(false); }
// Token: 0x060005E0 RID: 1504 RVA: 0x000292FC File Offset: 0x000274FC internal static bool smethod_17(Struct8 struct8_0, string string_0, IFormatProvider iformatProvider_0, out DateTimeOffset dateTimeOffset_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.smethod_21(struct8_0, out dateTimeOffset_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_13(struct8_0, out dateTimeOffset_0)) { return(true); } if (!string.IsNullOrEmpty(string_0) && Class25.smethod_22(struct8_0.ToString(), string_0, iformatProvider_0, out dateTimeOffset_0)) { return(true); } } dateTimeOffset_0 = default(DateTimeOffset); return(false); }