Click or drag to resize
ILocalize Interface
Base class for implementing language translations.

Namespace: MomentSharp.Globalization
Assembly: MomentSharp (in MomentSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public interface ILocalize

The ILocalize type exposes the following members.

Methods
  NameDescription
Public methodTranslate(Calendar, DateTime)
Localized Calendar parts for dateTime
Public methodTranslate(RelativeTime, Int32, Boolean, Boolean)
Localize RelativeTime. This is meant to emulate how MomentJs allows localization of RelativeTime
Top
Properties
  NameDescription
Public propertyLongDateFormat
Localized short hand format strings. See http://momentjs.com/docs/#localized-formats
Top
See Also