Example #1
0
        /// <summary>
        /// Dynamically set the date range according to the<see cref= "DateRangeType" /> property.
        /// </summary>
        /// <remarks>
        /// Custom date range is unaltered. Project extents is always null. Other types are calculated in the project time zone.
        /// </remarks>
        private async Task ApplyDateRange(Guid projectUid, Filter.Abstractions.Models.Filter filter)
        {
            var projectTimeZone = await ProjectTimeZone(projectUid);

            filter.ApplyDateRange(projectTimeZone, true);
        }