From dc21e3329456816259f16776d285a19e2f3c35c5 Mon Sep 17 00:00:00 2001 From: Daniel Stolt Date: Sat, 2 Aug 2014 19:11:12 +0200 Subject: [PATCH] Minor formatting changes. --- .../Tests/StubWorkContextAccessor.cs | 2 +- .../Services/IDateLocalizationServices.cs | 28 ------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/src/Orchard.Web/Modules/Orchard.Tokens/Tests/StubWorkContextAccessor.cs b/src/Orchard.Web/Modules/Orchard.Tokens/Tests/StubWorkContextAccessor.cs index f2eb6fef3..1d5896731 100644 --- a/src/Orchard.Web/Modules/Orchard.Tokens/Tests/StubWorkContextAccessor.cs +++ b/src/Orchard.Web/Modules/Orchard.Tokens/Tests/StubWorkContextAccessor.cs @@ -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(); } } diff --git a/src/Orchard/Localization/Services/IDateLocalizationServices.cs b/src/Orchard/Localization/Services/IDateLocalizationServices.cs index e34e339c2..fc73cf020 100644 --- a/src/Orchard/Localization/Services/IDateLocalizationServices.cs +++ b/src/Orchard/Localization/Services/IDateLocalizationServices.cs @@ -17,13 +17,6 @@ namespace Orchard.Localization.Services { /// DateTime ConvertToSiteTimeZone(DateTime dateUtc); - ///// - ///// Converts a nullable date from UTC to the Orchard configured time zone. - ///// - ///// The nullable UTC date to convert. - ///// - //DateTime? ConvertToSiteTimeZone(DateTime? dateUtc); - /// /// Converts a date from the Orchard configured time zone to UTC. /// @@ -31,13 +24,6 @@ namespace Orchard.Localization.Services { /// DateTime ConvertFromSiteTimeZone(DateTime dateLocal); - ///// - ///// Converts a nullable date from the Orchard configured time zone to UTC. - ///// - ///// The nullable local date to convert. - ///// - //DateTime? ConvertFromSiteTimeZone(DateTime? dateLocal); - /// /// Converts a date from Gregorian calendar to the Orchard configured calendar. /// @@ -45,13 +31,6 @@ namespace Orchard.Localization.Services { /// A DateTimeParts instance representing the converted date. DateTimeParts ConvertToSiteCalendar(DateTime date); - ///// - ///// Converts a nullable date from Gregorian calendar to the Orchard configured calendar. - ///// - ///// The nullable Gregorian calendar date to convert. - ///// Null if the supplied date parameter was null. Otherwise a DateTimeParts instance representing the converted date. - //DateTimeParts? ConvertToSiteCalendar(DateTime? date); - /// /// Converts a date from the Orchard configured calendar to Gregorian calendar. /// @@ -59,13 +38,6 @@ namespace Orchard.Localization.Services { /// A DateTime instance representing the converted date. DateTime ConvertFromSiteCalendar(DateTimeParts parts); - ///// - ///// Converts a nullable date from the Orchard configured calendar to Gregorian calendar. - ///// - ///// A DateTimeParts instance representing the Orchard configured calendar date to convert. - ///// Null if the supplied parts parameter was null. Otherwise a DateTime instance representing the converted date. - //DateTime? ConvertFromSiteCalendar(DateTimeParts? parts); - /// /// Converts a non-nullable UTC date in Gregorian calendar to a localized short date string. ///