getTimezoneUtility

From AgileApps Support Wiki
Revision as of 22:29, 20 December 2010 by imported>Aeric (Text replace - 'getTimezoneUtility(' to 'Functions.getTimezoneUtility(')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Functions.getTimezoneUtility(String timezoneId)
Description
Retrieves a time zone, based on a provided id via the Java API
Syntax
Map Functions.getTimezoneUtility(String timezoneId)
Where timezoneId is a Time Zone Code
Return
TimeZoneBean
Example
Retrieve the time zone for timezoneId = 80
Functions.debug("Retrieve time zone 80);
TimeZoneBean tz = Functions.getTimezoneUtility("80");
Functions.debug("code: "+ tz.getId() + "; value: "+ tz.getJavaValue() + "; user friendly value: "+ tz.getUserFriendlyValue());