protected override string Format(ITimeFormatter formatter) { return formatter.GetCalendarPeriod(StartYearName, EndYearName, formatter.GetShortDate(Start), formatter.GetShortDate(End), Duration); }
protected override string Format(ITimeFormatter formatter) { return(formatter.GetCalendarPeriod(StartYearName, EndYearName, formatter.GetShortDate(Start), formatter.GetShortDate(End), Duration)); }
} // AddMonths // ---------------------------------------------------------------------- protected override string Format(ITimeFormatter formatter) { return(formatter.GetCalendarPeriod(string.Format("{0}/{1}", Year, Month), formatter.GetShortDate(Start), formatter.GetShortDate(End), Duration)); } // Format
protected override string Format(ITimeFormatter formatter) { return(formatter.GetCalendarPeriod(Year.ToString(CultureInfo.InvariantCulture), formatter.GetShortDate(Start), formatter.GetShortDate(End), Duration)); }