Mercurial > hg > ltpda
comparison m-toolbox/classes/+utils/@timetools/getTimezone.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % GETIMEZONE Get the list of supported time zones. | |
2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
3 % | |
4 % DESCRIPTION: GETIMEZONE Get the cell array containing the list of | |
5 % supported time zones. | |
6 % | |
7 % CALL: timezones = getTimezone() | |
8 % | |
9 % | |
10 % VERSION: $Id: getTimezone.m,v 1.2 2009/05/07 16:22:59 nicola Exp $ | |
11 % | |
12 % HISTORY: 06-05-2009 N Tateo | |
13 % Creation | |
14 % | |
15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
16 | |
17 function timezones = getTimezone(varargin) | |
18 | |
19 if nargin>0, utils.helper.msg(0, 'warning: the function getTimezone accepts no input, but some were passed.'); | |
20 end | |
21 | |
22 timezones = {'UTC' ; ... | |
23 'CET' ; ... | |
24 'PST' ; ... | |
25 'CST' ; ... | |
26 'EST' ; ... | |
27 'JST' ; ... | |
28 'GMT-12' ; ... | |
29 'GMT-11' ; ... | |
30 'GMT-10' ; ... | |
31 'GMT-09' ; ... | |
32 'GMT-08' ; ... | |
33 'GMT-07' ; ... | |
34 'GMT-06' ; ... | |
35 'GMT-05' ; ... | |
36 'GMT-04' ; ... | |
37 'GMT-03' ; ... | |
38 'GMT-02' ; ... | |
39 'GMT-01' ; ... | |
40 'GMT' ; ... | |
41 'GMT+01' ; ... | |
42 'GMT+02' ; ... | |
43 'GMT+03' ; ... | |
44 'GMT+04' ; ... | |
45 'GMT+05' ; ... | |
46 'GMT+06' ; ... | |
47 'GMT+07' ; ... | |
48 'GMT+08' ; ... | |
49 'GMT+09' ; ... | |
50 'GMT+10' ; ... | |
51 'GMT+11' ; ... | |
52 'GMT+12' }; | |
53 | |
54 end | |
55 |