You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/blackberry_system.js
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,26 @@ blackberry.system ={
113
113
*/
114
114
getFontInfo : function(){},
115
115
116
+
/**
117
+
* @function
118
+
* @description Retrieves the list of all time zones supported by the device. The time zones are based on the Olson time zone database. For more information, refer to <a href="http://www.iana.org/time-zones" target="_blank">IANA</a>.
119
+
* @returns {String[]}
120
+
* @BB10X
121
+
*/
122
+
getTimezones: function(){},
123
+
124
+
/**
125
+
* @function
126
+
* @description Retrieves the time zone currently used by the device.
127
+
* @returns {String}
128
+
* @example
129
+
* function getCurrentTimezone() {
130
+
* return blackberry.system.getCurrentTimezone(); // e.g. "America/New_York"
0 commit comments