public DateFormat(DateDay day, DateMonth month, DateYear year, DateSeparator separator, string culture) : base(culture) { Day = day; Month = month; Year = year; Separator = separator; }
public DateFormat() : base() { Day = default; Month = default; Year = default; Separator = default; }
private ValMonth GetValuesPerMotnh(DateMonth month, List <Tables> values) { var valid = values.Where(x => x.Fecha.Month == month.Month && x.Fecha.Year == month.Year).ToList(); return(new ValMonth { Cancellation = "0", Activation = valid.Select(x => x.registrados_con_pago_activo).Sum(a => a).ToString(), Month = month.Month, Year = month.Year, MonthName = month.MonthName, Subscription = valid.Select(x => x.Suscripciones).Sum(a => a).ToString() }); }