public IEnumerable<ILedgerEntry> get_all_the_entries_for(IMonth month) { return entries.where(x => month.represents(x.entry_date())); }
public async Task <IHttpActionResult> RangeOfMonths() { IMonth qi = _repo.QueryInterface <IMonth>(); return(Ok <List <Month> >((await qi.Index()).ToList <Month>())); }
public static void add(IMonth month) { all_months.Add(month); }
public OYSDate(IYear YYYY, IMonth MM, IDay DD) { this.Year = YYYY; this.Month = MM; this.Day = DD; }