Exemplo n.º 1
0
        public static AnnualRingModel FromLunarYear(int lunarYear)
        {
            var model = new AnnualRingModel {
                LunarYear = lunarYear, Zodiac = ZodiacYear.GetZodiac(lunarYear)
            };

            return(model);
        }
Exemplo n.º 2
0
 public void GivenTheDateIs(string dateString)
 {
     datetime        = DateTime.Parse(dateString);
     actualZodiacGot = ZodiacYear.GetZodiac(datetime);
 }
Exemplo n.º 3
0
 public void GivenTheLunarYearIs(int lunarYear)
 {
     actualZodiacGot = ZodiacYear.GetZodiac(lunarYear);
 }
Exemplo n.º 4
0
 public static string GetZodiacYearName(ZodiacYear zodiacYear) => Get($"ZODIACYEAR_{zodiacYear}");