Example #1
0
 private bool _isValidStatisticsToDate(ArchetypeBrowserQueryParams queryParams)
 {
     return(queryParams.StatisticsToDate == "" ||
            _dateValidator.IsValidFormat(queryParams.StatisticsToDate, DateFormat.yyyy_MM_dd));
 }
 /// <inheritdoc />
 public bool IsValidStatisticsFromDate(DecklistBrowserQueryParametersDTO queryParams)
 {
     return(_dateValidator
            .IsValidFormat(queryParams.StatisticsFromDate, DateFormat.yyyy_MM_dd) ||
            queryParams.StatisticsFromDate == "");
 }