You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewArgumentException(string.Format(CultureInfo.InvariantCulture,"StartDate {0:o} is invalid. It is later than Now: {1:o}",startTime,DateTime.Now));
queryFilter=string.Format("eventTimestamp ge '{0:o}'",startTime.ToUniversalTime());
128
+
thrownewArgumentException(string.Format(CultureInfo.InvariantCulture,"Start and end dates are too far appart. Separation {0} days. Maximum allowed {1} days",dateDifference.TotalDays,MaximumDateDifferenceAllowedInDays.TotalDays));
115
129
}
116
-
else
117
-
{
118
-
DateTimeendTime;
119
-
if(!DateTime.TryParse(this.EndTime,outendTime))
120
-
{
121
-
thrownewArgumentException("Unable to parse endTime argument");
122
-
}
123
130
124
-
queryFilter=string.Format("eventTimestamp ge '{0:o}' and eventTimestamp le '{1:o}'",startTime.ToUniversalTime(),endTime.ToUniversalTime());
125
-
}
131
+
returnstring.Format("eventTimestamp ge '{0:o}' and eventTimestamp le '{1:o}'",startTime.ToUniversalTime(),endTime.ToUniversalTime());
132
+
}
133
+
134
+
/// <summary>
135
+
/// Process the parameters defined by this class
136
+
/// </summary>
137
+
/// <returns>The query filter with the conditions for general parameters (i.e. defined by this class) added</returns>
0 commit comments