public override string ToString() { return(GetFilenamePrefix(InvoiceDate, Supplier, Id) + string.Join("_", "", RegisteredDate.ToString("MM-dd"), State.ToString() )); }
public override string ToString() { return($"{RegisteredDate.ToShortDateString()} {Amount} {AccountId} {Supplier}"); }
public void 登録日をスラッシュで表示する(int year, int month, int day, string value) { var act = new RegisteredDate(new DateTime(year, month, day)); Assert.Equal(value, act.DisplayValue); }