public GenDate(GenDateType dateType, string datePhrase, bool isValid) { DateType = dateType; DatePhrase = datePhrase; SortDate = GetSortDate(); IsValid = isValid; }
public GenDate(GenDateType dateType, DatePart fromDatePart, DatePart toDatePart) { DateFrom = fromDatePart; DateTo = toDatePart; DateType = dateType; SortDate = GetSortDate(); IsValid = true; }
public GenDate(GenDateType dateType, DatePart fromDatePart, DatePart toDatePart, bool isValid) { DateType = dateType; DateFrom = fromDatePart; DateTo = toDatePart; SortDate = GetSortDate(); IsValid = isValid; }
public GenDate(GenDateType dateType, DatePart datePart) { DateFrom = datePart; DateTo = datePart; DateType = dateType; SortDate = GetSortDate(); IsValid = true; }