Click or drag to resize

I18NSessionContext Methods

The I18NSessionContext type exposes the following members.

Methods
  NameDescription
Public methodConvertFromNeutral
Converts from neutral format into the format specific for the session locale.
Public methodConvertNeutralToUtcDateTime
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.
Public methodConvertToNeutral
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.
Public methodConvertUtcDateTimeToNeutral
Converts utcStr date to string representing the same moment of time in the time zone of the session in neutral format.
Public methodGetCorporateToLocalOffset
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.
Public methodGetDefaultLanguageCode
Returns code of the default language.
Public methodGetDefaultLanguageSuffix
Returns suffix of the default language.
Public methodGetLanguageCode
Returns Innovator language code for the session language.
Public methodGetLanguageSuffix
Returns suffix of the language for the session language.
Public methodGetLocale
Returns locale of the current session.
Public methodGetTimeZone
Returns time zone of the session.
Public methodGetUIDatePattern
Returns locale specific date-time pattern that corresponds to the passed Innovator pattern (e.g. 'short_date').
Top
See Also