view m-toolbox/classes/+utils/@timetools/getTimezone.m @ 2:18e956c96a1b
database-connection-manager
Add LTPDADatabaseConnectionManager implementation. Matlab code
author |
Daniele Nicolodi <nicolodi@science.unitn.it> |
date |
Sun, 04 Dec 2011 21:23:09 +0100 (2011-12-04) |
parents |
f0afece42f48 |
children |
|
line source
% GETIMEZONE Get the list of supported time zones.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% DESCRIPTION: GETIMEZONE Get the cell array containing the list of
% supported time zones.
%
% CALL: timezones = getTimezone()
%
%
% VERSION: $Id: getTimezone.m,v 1.2 2009/05/07 16:22:59 nicola Exp $
%
% HISTORY: 06-05-2009 N Tateo
% Creation
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
function timezones = getTimezone(varargin)
if nargin>0, utils.helper.msg(0, 'warning: the function getTimezone accepts no input, but some were passed.');
end
timezones = {'UTC' ; ...
'CET' ; ...
'PST' ; ...
'CST' ; ...
'EST' ; ...
'JST' ; ...
'GMT-12' ; ...
'GMT-11' ; ...
'GMT-10' ; ...
'GMT-09' ; ...
'GMT-08' ; ...
'GMT-07' ; ...
'GMT-06' ; ...
'GMT-05' ; ...
'GMT-04' ; ...
'GMT-03' ; ...
'GMT-02' ; ...
'GMT-01' ; ...
'GMT' ; ...
'GMT+01' ; ...
'GMT+02' ; ...
'GMT+03' ; ...
'GMT+04' ; ...
'GMT+05' ; ...
'GMT+06' ; ...
'GMT+07' ; ...
'GMT+08' ; ...
'GMT+09' ; ...
'GMT+10' ; ...
'GMT+11' ; ...
'GMT+12' };
end