NSoft.NFramework.TimePeriods.TimeRanges.MonthRangeCollection.Format C# (CSharp) Method

Format() protected method

protected Format ( ITimeFormatter formatter ) : string
formatter ITimeFormatter
return string
        protected override string Format(ITimeFormatter formatter) {
            var fmt = formatter ?? TimeFormatter.Instance;

            return fmt.GetCalendarPeriod(StartMonthName,
                                         EndMonthName,
                                         fmt.GetShortDate(Start),
                                         fmt.GetShortDate(End),
                                         Duration);
        }
    }