public FestivalInfo(FestivalType _type, bool _isChineseFestival, string _desc, FestivalCalcType _calcType, string _timeInfo) { type = _type; isChineseFestival = _isChineseFestival; desc = _desc; calcType = _calcType; timeInfo = _timeInfo; }
private void setCalcInfo(FestivalType type, bool isChineseFestival, string desc, FestivalCalcType calcType, string timeInfo) { mapFestivalCalcInfo[type] = new FestivalInfo(type, isChineseFestival, desc, calcType, timeInfo); }