public void ToString5Test() { var Date1 = new KoreanDate(4248, KoreanDateEraType.Gojoseon, 4, 8); Assert.AreEqual("08", Date1.ToString("DD")); }
public void ToString15Test() { var Date1 = new KoreanDate(4248, KoreanDateEraType.Gojoseon, 4, 8); Assert.AreEqual("4248, month 4 day 8, Gojoseon", Date1.ToString("YYYY, month M day D, E")); }
public void ToString9Test() { var Date1 = new KoreanDate(4248, KoreanDateEraType.Gojoseon, 4, 8); Assert.AreEqual("4248/04/08", Date1.ToString("YYYY/MM/DD")); }
public void ToString12Test() { var Date1 = new KoreanDate(4248, KoreanDateEraType.Gojoseon, 4, 8); Assert.AreEqual("4248-4-8", Date1.ToString("YYYY-M-D")); }
public void ToString8Test() { var Date1 = new KoreanDate(623, KoreanDateEraType.Joseon, 4, 8); Assert.AreEqual("Joseon", Date1.ToString("E")); }