Пример #1
0
 public FestivalInfo(FestivalType _type, bool _isChineseFestival, string _desc, FestivalCalcType _calcType, string _timeInfo)
 {
     type = _type; isChineseFestival = _isChineseFestival; desc = _desc; calcType = _calcType; timeInfo = _timeInfo;
 }
Пример #2
0
 private void setCalcInfo(FestivalType type, bool isChineseFestival, string desc, FestivalCalcType calcType, string timeInfo)
 {
     mapFestivalCalcInfo[type] = new FestivalInfo(type, isChineseFestival, desc, calcType, timeInfo);
 }