-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdatetime.sgml
2406 lines (2342 loc) · 55.2 KB
/
datetime.sgml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!--
$PostgreSQL: pgsql/doc/src/sgml/datetime.sgml,v 2.45 2005/01/09 18:58:10 tgl Exp $
-->
<appendix id="datetime-appendix">
<title>Apoio a data e hora</title>
<para>
O <productname>PostgreSQL</productname> utiliza um analisador heurístico
interno para dar suporte a toda entrada de data e hora. Data e hora são
entradas como cadeias de caracteres, e divididas em campos distintos com base
na determinação preliminar do tipo de informação que pode estar contida no
campo. Cada campo é interpretado e, em seguida: atribuído um valor numérico,
ignorado, ou rejeitado. O analisador contém tabelas internas de procura para
todos os campos textuais, incluindo meses, dias da semana e zonas horárias.
</para>
<para>
Este apêndice inclui informações sobre o conteúdo destas tabelas de procura,
e descreve os passos utilizados pelo analisador para decodificar data e hora.
</para>
<sect1>
<title>Interpretação de data e hora</title>
<para>
As entradas dos tipos data e hora são todas decodificadas utilizando o
seguinte procedimento.
</para>
<procedure>
<step>
<para>
Dividir a cadeia de caracteres da entrada em elementos
(<literal>tokens</literal>), e categorizar cada elemento como sendo uma
cadeia de caracteres, hora, zona horária ou número.
</para>
<substeps>
<step>
<para>
Se o elemento numérico contiver dois-pontos (<literal>:</literal>),
então é uma cadeia de caracteres de hora. Incluir todos os dígitos e
dois-pontos subseqüentes.
</para>
</step>
<step>
<para>
Se o elemento numérico contiver hífen (<literal>-</literal>), barra
(<literal>/</literal>), ou dois ou mais pontos (<literal>.</literal>),
então é uma cadeia de caracteres de data que pode conter o mês na forma
de texto.
</para>
</step>
<step>
<para>
Se o elemento contiver apenas números, então é um campo único
ou uma data ISO 8601 concatenada (por exemplo,
<literal>19990113</literal> para 13 de janeiro de 1999), ou hora
(por exemplo, <literal>141516</literal> para 14:15:16).
</para>
</step>
<step>
<para>
Se o elemento começar por um sinal de mais (<literal>+</literal>),
ou de menos (<literal>-</literal>), então é uma zona horária ou um
campo especial.
</para>
</step>
</substeps>
</step>
<step>
<para>
Se o elemento for uma cadeia de caracteres, estabelecer correspondência
com as cadeias de caracteres possíveis.
</para>
<substeps>
<step>
<para>
Fazer uma pesquisa binária do elemento na tabela, para ver se é uma
cadeia de caracteres especial (por exemplo, <literal>today</literal>),
um dia da semana (por exemplo, <literal>Thursday</literal>), um mês
(por exemplo, <literal>January</literal>), ou uma palavra sem efeito
(por exemplo, <literal>at</literal>, <literal>on</literal>).
</para>
<para>
Definir valor e máscara de bit para os campos. Por exemplo, definir
ano, mês e dia para <literal>today</literal> e, adicionalmente, hora,
minuto e segundo para <literal>now</literal>.
</para>
</step>
<step>
<para>
Se não for encontrado, fazer uma pesquisa binária semelhante na tabela
para fazer a correspondência entre o elemento e uma zona horária.
</para>
</step>
<step>
<para>
Se ainda não for encontrado, lançar um erro.
</para>
</step>
</substeps>
</step>
<step>
<para>
Quando o elemento é um número ou campo numérico:
</para>
<substeps>
<step>
<para>
Se contiver 8 ou 6 dígitos, e nenhum outro campo de data foi lido
anteriormente, então interpretar como uma <quote>data concatenada</>
(por exemplo, <literal>19990118</literal> ou <literal>990118</literal>).
A interpretação é <literal>YYYYMMDD</literal> ou <literal>YYMMDD</>.
</para>
</step>
<step>
<para>
Se o elemento tiver 3 dígitos, e um ano já tiver sido lido,
então interpretar como dia do ano.
</para>
</step>
<step>
<para>
Se contiver 4 ou 6 dígitos, e o ano já tiver sido lido, então
interpretar como hora (<literal>HHMM</literal> ou <literal>HHMMSS</>).
</para>
</step>
<step>
<para>
Se contiver 3 ou mais dígitos, e nenhum campo data foi encontrado
anteriormente, interpretar como ano (isto força a ordem
<literal>yy-mm-dd</literal> para os demais campos de data).
</para>
</step>
<step>
<para>
Senão, a ordem do campo data é assumida como definida por
<varname>DateStyle</varname>: <literal>mm-dd-yy</literal>,
<literal>dd-mm-yy</literal>, ou <literal>yy-mm-dd</literal>. Lançar um
erro se o campo mês ou dia estiver fora do intervalo permitido.
</para>
</step>
</substeps>
</step>
<step>
<para>
Se for especificado BC, tornar o ano negativo e adicionar um para
armazenamento interno (Não existe ano zero no Calendário Gregoriano
<footnote>
<para>
São dois os Calendário Cristãos ainda em uso no mundo: O Calendário
Juliano foi proposto por Sosígenes, astrônomo de Alexandria, e
introduzido por Julio César em 45 AC. Foi usado pelas igrejas e países
cristãos até o século XVI, quando começou a ser trocado pelo Calendário
Gregoriano. Alguns países, como a Grécia e a Rússia, o usaram até o
século passado. Ainda é usado por algumas Igrejas Ortodoxas, entre elas
a Igreja Russa; O Calendário Gregoriano foi proposto por Aloysius
Lilius, astrônomo de Nápoles, e adotado pelo Papa Gregório XIII,
seguindo as instruções do Concílio de Trento (1545-1563). O decreto
instituindo esse calendário foi publicado em 24 de fevereiro de 1582. -
<ulink url="http://www.observatorio.ufmg.br/pas39.htm">Calendários</ulink>
(N. do T.)
</para>
</footnote>
e, portanto, numericamente <literal>1 BC</literal> se torna o
ano zero).
</para>
</step>
<step>
<para>
Se não for especificado BC, e o campo do ano tiver comprimento de dois
dígitos, então ajustar o ano para quatro dígitos. Se o campo for inferior
a 70, então adicionar 2000, senão adicionar 1900.
<tip>
<para>
Os anos Gregorianos AD 1-99
<footnote>
<para>
AD =
<ulink url="http://en.wikipedia.org/wiki/Anno_Domini">Anno Domini</ulink>
(N. do T.)
</para>
</footnote>
podem ser entrados utilizando 4 dígitos com zeros à esquerda (por
exemplo, <literal>0099</literal> é AD 99). As versões anteriores do
<productname>PostgreSQL</productname> aceitavam anos com três dígitos
e com um dígito, mas a partir da versão 7.0 as regras ficaram mais
rigorosas, para reduzir a possibilidade de ambigüidade.
</para>
</tip>
</para>
</step>
</procedure>
</sect1>
<sect1 id="datetime-keywords">
<title>Palavras chave para data e hora</title>
<para>
A <xref linkend="datetime-month-table"> mostra os elementos
reconhecidos como nomes dos meses.
</para>
<table id="datetime-month-table">
<title>Nomes dos meses</title>
<tgroup cols="2">
<thead>
<row>
<entry>Nome</entry>
<entry>Abreviatura</entry>
</row>
</thead>
<tbody>
<row>
<entry>January</entry>
<entry>Jan</entry>
</row>
<row>
<entry>February</entry>
<entry>Feb</entry>
</row>
<row>
<entry>March</entry>
<entry>Mar</entry>
</row>
<row>
<entry>April</entry>
<entry>Apr</entry>
</row>
<row>
<entry>May</entry>
<entry></entry>
</row>
<row>
<entry>June</entry>
<entry>Jun</entry>
</row>
<row>
<entry>July</entry>
<entry>Jul</entry>
</row>
<row>
<entry>August</entry>
<entry>Aug</entry>
</row>
<row>
<entry>September</entry>
<entry>Sep, Sept</entry>
</row>
<row>
<entry>October</entry>
<entry>Oct</entry>
</row>
<row>
<entry>November</entry>
<entry>Nov</entry>
</row>
<row>
<entry>December</entry>
<entry>Dec</entry>
</row>
</tbody>
</tgroup>
</table>
<para>
A <xref linkend="datetime-dow-table"> mostra os elementos
reconhecidos como nomes dos dias da semana.
</para>
<table id="datetime-dow-table">
<title>Nomes dos dias da semana</title>
<tgroup cols="2">
<thead>
<row>
<entry>Nome</entry>
<entry>Abreviatura</entry>
</row>
</thead>
<tbody>
<row>
<entry>Sunday</entry>
<entry>Sun</entry>
</row>
<row>
<entry>Monday</entry>
<entry>Mon</entry>
</row>
<row>
<entry>Tuesday</entry>
<entry>Tue, Tues</entry>
</row>
<row>
<entry>Wednesday</entry>
<entry>Wed, Weds</entry>
</row>
<row>
<entry>Thursday</entry>
<entry>Thu, Thur, Thurs</entry>
</row>
<row>
<entry>Friday</entry>
<entry>Fri</entry>
</row>
<row>
<entry>Saturday</entry>
<entry>Sat</entry>
</row>
</tbody>
</tgroup>
</table>
<para>
A <xref linkend="datetime-mod-table"> mostra os elementos que servem
como modificadores para várias finalidades.
</para>
<table id="datetime-mod-table">
<title>Modificadores de campo de data e hora</title>
<tgroup cols="2">
<thead>
<row>
<entry>Identificador</entry>
<entry>Descrição</entry>
</row>
</thead>
<tbody>
<row>
<entry><literal>ABSTIME</literal></entry>
<entry>Ignorado</entry>
</row>
<row>
<entry><literal>AM</literal></entry>
<entry>Hora antes das 12:00</entry>
</row>
<row>
<entry><literal>AT</literal></entry>
<entry>Ignorado</entry>
</row>
<row>
<entry><literal>JULIAN</>, <literal>JD</>, <literal>J</></entry>
<entry>O próximo campo é dia Juliano</entry>
</row>
<row>
<entry><literal>ON</literal></entry>
<entry>Ignorado</entry>
</row>
<row>
<entry><literal>PM</literal></entry>
<entry>Hora após ou às 12:00</entry>
</row>
<row>
<entry><literal>T</literal></entry>
<entry>O próximo campo é hora</entry>
</row>
</tbody>
</tgroup>
</table>
<para>
A palavra chave <literal>ABSTIME</literal> é ignorada por razões históricas;
em versões muito antigas do <productname>PostgreSQL</productname>, valores
inválidos do tipo <type>abstime</type> eram informados como
<literal>Invalid Abstime</literal>. Entretanto, este não é mais o caso, e
esta palavra chave provavelmente será retirada em uma versão futura.
</para>
<indexterm>
<primary>zona horária</primary>
<secondary>abreviaturas</secondary>
</indexterm>
<para>
A <xref linkend="datetime-timezone-input-table"> mostra as abreviaturas de
zona horária reconhecidas pelo <productname>PostgreSQL</productname>
nos valores de entrada de data e hora.
Deve ser observado que estes nomes <emphasis>não</emphasis> são
necessariamente usados na saída de data e hora — a saída é ditada
pela abreviatura oficial de zona horária associada no momento à definição
do parâmetro <xref linkend="guc-timezone"> (É provável que as versões
futuras façam algum uso de <xref linkend="guc-timezone"> para a entrada
também).
</para>
<para>
A tabela está organizada pelo deslocamento da zona horária com relação à
<acronym>UTC</acronym>, em vez de alfabeticamente, com a finalidade de
facilitar a correspondência entre a utilização local e as abreviaturas
reconhecidas nos casos em que forem diferentes.
</para>
<table id="datetime-timezone-input-table">
<title>Abreviaturas das zonas horárias para a entrada</title>
<tgroup cols="3">
<thead>
<row>
<entry>Zona horária</entry>
<entry>Deslocamento da UTC</entry>
<entry>Descrição</entry>
</row>
</thead>
<tbody>
<row>
<entry>NZDT</entry>
<entry>+13:00</entry>
<entry>New Zealand Daylight-Saving Time</entry>
</row>
<row>
<entry>IDLE</entry>
<entry>+12:00</entry>
<entry>International Date Line, East</entry>
</row>
<row>
<entry>NZST</entry>
<entry>+12:00</entry>
<entry>New Zealand Standard Time</entry>
</row>
<row>
<entry>NZT</entry>
<entry>+12:00</entry>
<entry>New Zealand Time</entry>
</row>
<row>
<entry>AESST</entry>
<entry>+11:00</entry>
<entry>Australia Eastern Summer Standard Time</entry>
</row>
<row>
<entry>ACSST</entry>
<entry>+10:30</entry>
<entry>Central Australia Summer Standard Time</entry>
</row>
<row>
<entry>CADT</entry>
<entry>+10:30</entry>
<entry>Central Australia Daylight-Saving Time</entry>
</row>
<row>
<entry>SADT</entry>
<entry>+10:30</entry>
<entry>South Australian Daylight-Saving Time</entry>
</row>
<row>
<entry>AEST</entry>
<entry>+10:00</entry>
<entry>Australia Eastern Standard Time</entry>
</row>
<row>
<entry>EAST</entry>
<entry>+10:00</entry>
<entry>East Australian Standard Time</entry>
</row>
<row>
<entry>GST</entry>
<entry>+10:00</entry>
<entry>Guam Standard Time, Russia zone 9</entry>
</row>
<row>
<entry>LIGT</entry>
<entry>+10:00</entry>
<entry>Melbourne, Australia</entry>
</row>
<row>
<entry>SAST</entry>
<entry>+09:30</entry>
<entry>South Australia Standard Time</entry>
</row>
<row>
<entry>CAST</entry>
<entry>+09:30</entry>
<entry>Central Australia Standard Time</entry>
</row>
<row>
<entry>AWSST</entry>
<entry>+09:00</entry>
<entry>Australia Western Summer Standard Time</entry>
</row>
<row>
<entry>JST</entry>
<entry>+09:00</entry>
<entry>Japan Standard Time, Russia zone 8</entry>
</row>
<row>
<entry>KST</entry>
<entry>+09:00</entry>
<entry>Korea Standard Time</entry>
</row>
<row>
<entry>MHT</entry>
<entry>+09:00</entry>
<entry>Kwajalein Time</entry>
</row>
<row>
<entry>WDT</entry>
<entry>+09:00</entry>
<entry>West Australian Daylight-Saving Time</entry>
</row>
<row>
<entry>MT</entry>
<entry>+08:30</entry>
<entry>Moluccas Time</entry>
</row>
<row>
<entry>AWST</entry>
<entry>+08:00</entry>
<entry>Australia Western Standard Time</entry>
</row>
<row>
<entry>CCT</entry>
<entry>+08:00</entry>
<entry>China Coastal Time</entry>
</row>
<row>
<entry>WADT</entry>
<entry>+08:00</entry>
<entry>West Australian Daylight-Saving Time</entry>
</row>
<row>
<entry>WST</entry>
<entry>+08:00</entry>
<entry>West Australian Standard Time</entry>
</row>
<row>
<entry>JT</entry>
<entry>+07:30</entry>
<entry>Java Time</entry>
</row>
<row>
<entry>ALMST</entry>
<entry>+07:00</entry>
<entry>Almaty Summer Time</entry>
</row>
<row>
<entry>WAST</entry>
<entry>+07:00</entry>
<entry>West Australian Standard Time</entry>
</row>
<row>
<entry>CXT</entry>
<entry>+07:00</entry>
<entry>Christmas (Island) Time</entry>
</row>
<row>
<entry>MMT</entry>
<entry>+06:30</entry>
<entry>Myanmar Time</entry>
</row>
<row>
<entry>ALMT</entry>
<entry>+06:00</entry>
<entry>Almaty Time</entry>
</row>
<row>
<entry>MAWT</entry>
<entry>+06:00</entry>
<entry>Mawson (Antarctica) Time</entry>
</row>
<row>
<entry>IOT</entry>
<entry>+05:00</entry>
<entry>Indian Chagos Time</entry>
</row>
<row>
<entry>MVT</entry>
<entry>+05:00</entry>
<entry>Maldives Island Time</entry>
</row>
<row>
<entry>TFT</entry>
<entry>+05:00</entry>
<entry>Kerguelen Time</entry>
</row>
<row>
<entry>AFT</entry>
<entry>+04:30</entry>
<entry>Afghanistan Time</entry>
</row>
<row>
<entry>EAST</entry>
<entry>+04:00</entry>
<entry>Antananarivo Summer Time</entry>
</row>
<row>
<entry>MUT</entry>
<entry>+04:00</entry>
<entry>Mauritius Island Time</entry>
</row>
<row>
<entry>RET</entry>
<entry>+04:00</entry>
<entry>Reunion Island Time</entry>
</row>
<row>
<entry>SCT</entry>
<entry>+04:00</entry>
<entry>Mahe Island Time</entry>
</row>
<row>
<entry>IRT, IT</entry>
<entry>+03:30</entry>
<entry>Iran Time</entry>
</row>
<row>
<entry>EAT</entry>
<entry>+03:00</entry>
<entry>Antananarivo, Comoro Time</entry>
</row>
<row>
<entry>BT</entry>
<entry>+03:00</entry>
<entry>Baghdad Time</entry>
</row>
<row>
<entry>EETDST</entry>
<entry>+03:00</entry>
<entry>Eastern Europe Daylight-Saving Time</entry>
</row>
<row>
<entry>HMT</entry>
<entry>+03:00</entry>
<entry>Hellas Mediterranean Time (?)</entry>
</row>
<row>
<entry>BDST</entry>
<entry>+02:00</entry>
<entry>British Double Summer Time</entry>
</row>
<row>
<entry>CEST</entry>
<entry>+02:00</entry>
<entry>Central European Summer Time</entry>
</row>
<row>
<entry>CETDST</entry>
<entry>+02:00</entry>
<entry>Central European Daylight-Saving Time</entry>
</row>
<row>
<entry>EET</entry>
<entry>+02:00</entry>
<entry>Eastern European Time, Russia zone 1</entry>
</row>
<row>
<entry>FWT</entry>
<entry>+02:00</entry>
<entry>French Winter Time</entry>
</row>
<row>
<entry>IST</entry>
<entry>+02:00</entry>
<entry>Israel Standard Time</entry>
</row>
<row>
<entry>MEST</entry>
<entry>+02:00</entry>
<entry>Middle European Summer Time</entry>
</row>
<row>
<entry>METDST</entry>
<entry>+02:00</entry>
<entry>Middle Europe Daylight-Saving Time</entry>
</row>
<row>
<entry>SST</entry>
<entry>+02:00</entry>
<entry>Swedish Summer Time</entry>
</row>
<row>
<entry>BST</entry>
<entry>+01:00</entry>
<entry>British Summer Time</entry>
</row>
<row>
<entry>CET</entry>
<entry>+01:00</entry>
<entry>Central European Time</entry>
</row>
<row>
<entry>DNT</entry>
<entry>+01:00</entry>
<entry><foreignphrase>Dansk Normal Tid</foreignphrase></entry>
</row>
<row>
<entry>FST</entry>
<entry>+01:00</entry>
<entry>French Summer Time</entry>
</row>
<row>
<entry>MET</entry>
<entry>+01:00</entry>
<entry>Middle European Time</entry>
</row>
<row>
<entry>MEWT</entry>
<entry>+01:00</entry>
<entry>Middle European Winter Time</entry>
</row>
<row>
<entry>MEZ</entry>
<entry>+01:00</entry>
<entry><foreignphrase>Mitteleuropäische Zeit</></entry>
</row>
<row>
<entry>NOR</entry>
<entry>+01:00</entry>
<entry>Norway Standard Time</entry>
</row>
<row>
<entry>SET</entry>
<entry>+01:00</entry>
<entry>Seychelles Time</entry>
</row>
<row>
<entry>SWT</entry>
<entry>+01:00</entry>
<entry>Swedish Winter Time</entry>
</row>
<row>
<entry>WETDST</entry>
<entry>+01:00</entry>
<entry>Western European Daylight-Saving Time</entry>
</row>
<row>
<entry>GMT</entry>
<entry>00:00</entry>
<entry>Greenwich Mean Time</entry>
</row>
<row>
<entry>UT</entry>
<entry>00:00</entry>
<entry>Universal Time</entry>
</row>
<row>
<entry>UTC</entry>
<entry>00:00</entry>
<entry>Universal Coordinated Time</entry>
</row>
<row>
<entry>Z</entry>
<entry>00:00</entry>
<entry>Same as UTC</entry>
</row>
<row>
<entry>ZULU</entry>
<entry>00:00</entry>
<entry>Same as UTC</entry>
</row>
<row>
<entry>WET</entry>
<entry>00:00</entry>
<entry>Western European Time</entry>
</row>
<row>
<entry>WAT</entry>
<entry>-01:00</entry>
<entry>West Africa Time</entry>
</row>
<row>
<entry>FNST</entry>
<entry>-01:00</entry>
<entry>Fernando de Noronha Summer Time</entry>
</row>
<row>
<entry>FNT</entry>
<entry>-02:00</entry>
<entry>Fernando de Noronha Time</entry>
</row>
<row>
<entry>BRST</entry>
<entry>-02:00</entry>
<entry>Brasilia Summer Time</entry>
</row>
<row>
<entry>NDT</entry>
<entry>-02:30</entry>
<entry>Newfoundland Daylight-Saving Time</entry>
</row>
<row>
<entry>ADT</entry>
<entry>-03:00</entry>
<entry>Atlantic Daylight-Saving Time</entry>
</row>
<row>
<entry>AWT</entry>
<entry>-03:00</entry>
<entry>(unknown)</entry>
</row>
<row>
<entry>BRT</entry>
<entry>-03:00</entry>
<entry>Brasilia Time</entry>
</row>
<row>
<entry>NFT</entry>
<entry>-03:30</entry>
<entry>Newfoundland Standard Time</entry>
</row>
<row>
<entry>NST</entry>
<entry>-03:30</entry>
<entry>Newfoundland Standard Time</entry>
</row>
<row>
<entry>AST</entry>
<entry>-04:00</entry>
<entry>Atlantic Standard Time (Canada)</entry>
</row>
<row>
<entry>ACST</entry>
<entry>-04:00</entry>
<entry>Atlantic/Porto Acre Summer Time</entry>
</row>
<row>
<entry>EDT</entry>
<entry>-04:00</entry>
<entry>Eastern Daylight-Saving Time</entry>
</row>
<!--
<row>
<entry>ZP4</entry>
<entry>-04:00</entry>
<entry>GMT +4 hours</entry>
</row>
-->
<row>
<entry>ACT</entry>
<entry>-05:00</entry>
<entry>Atlantic/Porto Acre Standard Time</entry>
</row>
<row>
<entry>CDT</entry>
<entry>-05:00</entry>
<entry>Central Daylight-Saving Time</entry>
</row>
<row>
<entry>EST</entry>
<entry>-05:00</entry>
<entry>Eastern Standard Time</entry>
</row>
<!--
<row>
<entry>ZP5</entry>
<entry>-05:00</entry>
<entry>GMT +5 hours</entry>
</row>
-->
<row>
<entry>CST</entry>
<entry>-06:00</entry>
<entry>Central Standard Time</entry>
</row>
<row>
<entry>MDT</entry>
<entry>-06:00</entry>
<entry>Mountain Daylight-Saving Time</entry>
</row>
<!--
<row>
<entry>ZP6</entry>
<entry>-06:00</entry>
<entry>GMT +6 hours</entry>
</row>
-->
<row>
<entry>MST</entry>
<entry>-07:00</entry>
<entry>Mountain Standard Time</entry>
</row>
<row>
<entry>PDT</entry>
<entry>-07:00</entry>
<entry>Pacific Daylight-Saving Time</entry>
</row>
<row>
<entry>AKDT</entry>
<entry>-08:00</entry>
<entry>Alaska Daylight-Saving Time</entry>
</row>
<row>
<entry>PST</entry>
<entry>-08:00</entry>
<entry>Pacific Standard Time</entry>
</row>
<row>
<entry>YDT</entry>
<entry>-08:00</entry>
<entry>Yukon Daylight-Saving Time</entry>
</row>
<row>
<entry>AKST</entry>
<entry>-09:00</entry>
<entry>Alaska Standard Time</entry>
</row>
<row>
<entry>HDT</entry>
<entry>-09:00</entry>
<entry>Hawaii/Alaska Daylight-Saving Time</entry>
</row>
<row>
<entry>YST</entry>
<entry>-09:00</entry>
<entry>Yukon Standard Time</entry>
</row>
<row>
<entry>MART</entry>
<entry>-09:30</entry>
<entry>Marquesas Time</entry>
</row>
<row>
<entry>AHST</entry>
<entry>-10:00</entry>
<entry>Alaska/Hawaii Standard Time</entry>
</row>
<row>
<entry>HST</entry>
<entry>-10:00</entry>
<entry>Hawaii Standard Time</entry>
</row>
<row>
<entry>CAT</entry>
<entry>-10:00</entry>
<entry>Central Alaska Time</entry>
</row>
<row>
<entry>NT</entry>
<entry>-11:00</entry>
<entry>Nome Time</entry>
</row>
<row>
<entry>IDLW</entry>
<entry>-12:00</entry>
<entry>International Date Line, West</entry>
</row>
</tbody>
</tgroup>
</table>
<formalpara>
<title>Zonas horárias da Austrália</title>
<para>
Existem três nomes em conflito entre as zonas horárias da Austrália
e as zonas horárias utilizadas normalmente na América do Sul e do Norte:
<literal>ACST</literal>, <literal>CST</literal> e <literal>EST</literal>.
Se a opção em tempo de execução <varname>australian_timezones</varname>
estiver definida como verdade, então <literal>ACST</literal>,
<literal>CST</literal>, <literal>EST</literal> e <literal>SAT</literal> são
interpretados como nomes de zona horária da Austrália, conforme mostrado
na <xref linkend="datetime-oztz-table">. Se estiver definido como falso
(que é o padrão), então <literal>ACST</literal>, <literal>CST</literal>
e <literal>EST</literal> são tomados como nomes de zona horária das
Américas, e <literal>SAT</literal> é interpretado como palavra sem efeito
indicando Sábado.
</para>
</formalpara>
<table id="datetime-oztz-table">
<title>Abreviaturas das zonas horárias da Austrália para entrada</title>
<tgroup cols="3">
<thead>
<row>
<entry>Zona horária</entry>
<entry>Deslocamento da UTC</entry>
<entry>Descrição</entry>
</row>
</thead>
<tbody>
<row>
<entry>ACST</entry>
<entry>+09:30</entry>
<entry>Central Australia Standard Time</entry>
</row>
<row>
<entry>CST</entry>
<entry>+10:30</entry>
<entry>Australian Central Standard Time</entry>
</row>
<row>
<entry>EST</entry>
<entry>+10:00</entry>