Exemplo n.º 1
0
 public DateFormat(DateDay day, DateMonth month, DateYear year, DateSeparator separator, string culture)
     : base(culture)
 {
     Day       = day;
     Month     = month;
     Year      = year;
     Separator = separator;
 }
Exemplo n.º 2
0
 public DateFormat()
     : base()
 {
     Day       = default;
     Month     = default;
     Year      = default;
     Separator = default;
 }
Exemplo n.º 3
0
        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()
            });
        }