diff --git a/src/Orchard/Localization/Services/IDateFormatter.cs b/src/Orchard/Localization/Services/IDateFormatter.cs
index cec67d09a..fad591801 100644
--- a/src/Orchard/Localization/Services/IDateFormatter.cs
+++ b/src/Orchard/Localization/Services/IDateFormatter.cs
@@ -6,17 +6,95 @@ using Orchard.Localization.Models;
namespace Orchard.Localization.Services {
public interface IDateFormatter : IDependency {
+
+ ///
+ /// Parses a date/time string into a DateTimeParts instance.
+ ///
+ /// The date/time string to parse.
+ ///
DateTimeParts ParseDateTime(string dateTimeString);
+
+ ///
+ /// Parses a date/time string into a DateTimeParts instance using the specified format.
+ ///
+ /// The date/time string to parse.
+ /// A standard or custom DateTime format string with which to parse the string.
+ ///
DateTimeParts ParseDateTime(string dateTimeString, string format);
+
+ ///
+ /// Parses a date string into a DateParts instance.
+ ///
+ /// The date string to parse.
+ ///
DateParts ParseDate(string dateString);
+
+ ///
+ /// Parses a date string into a DateParts instance using the specified format.
+ ///
+ /// The date string to parse.
+ /// A standard or custom DateTime format string with which to parse the string.
+ ///
DateParts ParseDate(string dateString, string format);
+
+ ///
+ /// Parses a time string into a TimeParts instance.
+ ///
+ /// The time string to parse.
+ ///
TimeParts ParseTime(string timeString);
+
+ ///
+ /// Parses a time string into a TimeParts instance using the specified format.
+ ///
+ /// The date string to parse.
+ /// A standard or custom DateTime format string with which to parse the string.
+ ///
TimeParts ParseTime(string timeString, string format);
+
+ ///
+ /// Formats a DateTimeParts instance into a short date/time string.
+ ///
+ /// The DateTimeParts instance to format.
+ ///
string FormatDateTime(DateTimeParts parts);
+
+ ///
+ /// Formats a DateTimeParts instance into a string.
+ ///
+ /// The DateTimeParts instance to format.
+ /// A standard or custom DateTime format string with which to format the string.
+ ///
string FormatDateTime(DateTimeParts parts, string format);
+
+ ///
+ /// Formats a DateParts instance into a short date string.
+ ///
+ /// The DateParts instance to format.
+ ///
string FormatDate(DateParts parts);
+
+ ///
+ /// Formats a DateParts instance into a string.
+ ///
+ /// The DateParts instance to format.
+ /// A standard or custom DateTime format string with which to format the string.
+ ///
string FormatDate(DateParts parts, string format);
+
+ ///
+ /// Formats a TimeParts instance into a long time string.
+ ///
+ /// The DateParts instance to format.
+ ///
string FormatTime(TimeParts parts);
+
+ ///
+ /// Formats a TimeParts instance into a string.
+ ///
+ /// The TimeParts instance to format.
+ /// A standard or custom DateTime format string with which to format the string.
+ ///
string FormatTime(TimeParts parts, string format);
}
}