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

            Assert.Equal(value, act.DisplayValue);
        }