The I18NSessionContext type exposes the following members.

Methods

  NameDescription
ConvertFromNeutral
Converts from neutral format into the format specific for the session locale.
ConvertNeutralToUtcDateTime
Converts a date-time in the time zone of the session in neutral format to a string that represents the same moment of time in UTC.
ConvertToNeutral
Convert svalue that is a string representation of value of type vtype into the neutral format. It is assumed that svalue has a format that is a valid format for the session locale.
ConvertUtcDateTimeToNeutral
Converts utcStr date to string representing the same moment of time in the time zone of the session in neutral format.
GetCorporateToLocalOffset
Returns offset in minutes between corporate time zone and the local time zone of the client. If the corporate time zone is not defined by the Innovator then '0' is returned.
GetDefaultLanguageCode
Returns code of the default language.
GetDefaultLanguageSuffix
Returns suffix of the default language.
GetLanguageCode
Returns Innovator language code for the session language.
GetLanguageSuffix
Returns suffix of the language for the session language.
GetLocale
Returns locale of the current session.
GetTimeZone
Returns time zone of the session.
GetUIDatePattern
Returns locale specific date-time pattern that corresponds to the passed Innovator pattern (e.g. 'short_date').

See Also