Click or drag to resize
ILocalizeTranslate Method (Calendar, DateTime)
Localized Calendar parts for dateTime

Namespace: MomentSharp.Globalization
Assembly: MomentSharp (in MomentSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
string Translate(
	Calendar calendar,
	DateTime dateTime
)

Parameters

calendar
Type: MomentSharp.GlobalizationCalendar
Calendar Part
dateTime
Type: SystemDateTime
DateTime to use in format string

Return Value

Type: String
Localized string e.g. Today at 9:00am
See Also