public static AnnualRingModel FromLunarYear(int lunarYear) { var model = new AnnualRingModel { LunarYear = lunarYear, Zodiac = ZodiacYear.GetZodiac(lunarYear) }; return(model); }
public void GivenTheDateIs(string dateString) { datetime = DateTime.Parse(dateString); actualZodiacGot = ZodiacYear.GetZodiac(datetime); }
public void GivenTheLunarYearIs(int lunarYear) { actualZodiacGot = ZodiacYear.GetZodiac(lunarYear); }
public static string GetZodiacYearName(ZodiacYear zodiacYear) => Get($"ZODIACYEAR_{zodiacYear}");