private static ValueWithException <DateTime?> GetLastUpdateLinkTimeFromJson(JProperty r3) { ; var r4 = r3.First; ; if (r4 is JValue r5) { ; if (r5.Value == null) { return(null); } return(DateTimeClass.GetFromString(r5.Value.ToString())); } return(new ValueWithException <DateTime?>(null, new JsonDateTimeNotFound())); }
private static ValueWithException <DateTime?> GetDateTime(string[] target) { if (target == null) { return(null); } if (target.Length < 3) { return(null); } var s = ""; for (var i = 2; i < target.Length; i++) { s += target[i] + " "; } s = s.Trim(); return(DateTimeClass.GetFromString(s)); }