Пример #1
0
        public (int year, MonthType month, int day) Date()
        {
            var year  = utc.Year;
            var month = MonthType.FromDateTime(utc);
            var day   = utc.Day;

            return(year, month, day);
        }
Пример #2
0
 public MonthType Month()
 {
     return(MonthType.FromDateTime(utc));
 }