mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Minor formatting changes.
This commit is contained in:
@@ -71,7 +71,7 @@ namespace Orchard.Tokens.Tests {
|
||||
set { throw new NotImplementedException(); }
|
||||
}
|
||||
|
||||
public string SiteCalendar {
|
||||
public string SiteCalendar {
|
||||
get { throw new NotImplementedException(); }
|
||||
set { throw new NotImplementedException(); }
|
||||
}
|
||||
|
||||
@@ -17,13 +17,6 @@ namespace Orchard.Localization.Services {
|
||||
/// <returns></returns>
|
||||
DateTime ConvertToSiteTimeZone(DateTime dateUtc);
|
||||
|
||||
///// <summary>
|
||||
///// Converts a nullable date from UTC to the Orchard configured time zone.
|
||||
///// </summary>
|
||||
///// <param name="dateUtc">The nullable UTC date to convert.</param>
|
||||
///// <returns></returns>
|
||||
//DateTime? ConvertToSiteTimeZone(DateTime? dateUtc);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a date from the Orchard configured time zone to UTC.
|
||||
/// </summary>
|
||||
@@ -31,13 +24,6 @@ namespace Orchard.Localization.Services {
|
||||
/// <returns></returns>
|
||||
DateTime ConvertFromSiteTimeZone(DateTime dateLocal);
|
||||
|
||||
///// <summary>
|
||||
///// Converts a nullable date from the Orchard configured time zone to UTC.
|
||||
///// </summary>
|
||||
///// <param name="dateLocal">The nullable local date to convert.</param>
|
||||
///// <returns></returns>
|
||||
//DateTime? ConvertFromSiteTimeZone(DateTime? dateLocal);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a date from Gregorian calendar to the Orchard configured calendar.
|
||||
/// </summary>
|
||||
@@ -45,13 +31,6 @@ namespace Orchard.Localization.Services {
|
||||
/// <returns>A <c>DateTimeParts</c> instance representing the converted date.</returns>
|
||||
DateTimeParts ConvertToSiteCalendar(DateTime date);
|
||||
|
||||
///// <summary>
|
||||
///// Converts a nullable date from Gregorian calendar to the Orchard configured calendar.
|
||||
///// </summary>
|
||||
///// <param name="date">The nullable Gregorian calendar date to convert.</param>
|
||||
///// <returns>Null if the supplied date parameter was null. Otherwise a <c>DateTimeParts</c> instance representing the converted date.</returns>
|
||||
//DateTimeParts? ConvertToSiteCalendar(DateTime? date);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a date from the Orchard configured calendar to Gregorian calendar.
|
||||
/// </summary>
|
||||
@@ -59,13 +38,6 @@ namespace Orchard.Localization.Services {
|
||||
/// <returns>A <c>DateTime</c> instance representing the converted date.</returns>
|
||||
DateTime ConvertFromSiteCalendar(DateTimeParts parts);
|
||||
|
||||
///// <summary>
|
||||
///// Converts a nullable date from the Orchard configured calendar to Gregorian calendar.
|
||||
///// </summary>
|
||||
///// <param name="parts">A <c>DateTimeParts</c> instance representing the Orchard configured calendar date to convert.</param>
|
||||
///// <returns>Null if the supplied parts parameter was null. Otherwise a <c>DateTime</c> instance representing the converted date.</returns>
|
||||
//DateTime? ConvertFromSiteCalendar(DateTimeParts? parts);
|
||||
|
||||
/// <summary>
|
||||
/// Converts a non-nullable UTC date in Gregorian calendar to a localized short date string.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user