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)); }
protected override string Format(ITimeFormatter formatter) { var fmt = formatter ?? TimeFormatter.Instance; return formatter.GetCalendarPeriod(WeekOfYearName, fmt.GetShortDate(Start), fmt.GetShortDate(End), Duration); }
protected override string Format(ITimeFormatter formatter) { var fmt = formatter ?? TimeFormatter.Instance; return(formatter.GetCalendarPeriod(WeekOfYearName, fmt.GetShortDate(Start), fmt.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
} // Copy // ---------------------------------------------------------------------- protected override string Format(ITimeFormatter formatter) { return(formatter.GetCalendarPeriod(formatter.GetDateTime(Start), formatter.GetDateTime(End), Duration)); } // Format
// ---------------------------------------------------------------------- protected override string Format( ITimeFormatter formatter ) { return formatter.GetCalendarPeriod( formatter.GetDateTime( Start), formatter.GetDateTime( End ), Duration ); }
protected override string Format(ITimeFormatter formatter) { return(formatter.GetCalendarPeriod(Year.ToString(CultureInfo.InvariantCulture), formatter.GetShortDate(Start), formatter.GetShortDate(End), Duration)); }