In article [email protected],
Tadayoshi F. [email protected] writes:
Time.rfc2822(‘Sun, 3 Sep 2006 14:36:59 +0000’).utc? #=> false
e$B$G!"$3$l$Oe(B UTC e$B$G$O$J$/$J$k$o$1$G$9$+!#e(B
e$B$($'!#e(B(e$B:#$O2F$G$“$k$?$a%$%.%j%9$N;~:9$Oe(B 0 e$B$G$J$$$N$Ge(B)
e$B%”%$%9e(B
e$B%i%s%I$rNc$K$H$k$H!"e(B
% TZ=Iceland ruby -rtime -e ‘p Time.local(2006,9,3,14,36,59)’
Sun Sep 03 14:36:59 +0000 2006
% TZ=Iceland ruby -rtime -e ‘p Time.local(2006,9,3,14,36,59).utc?’
false
% TZ=Iceland ruby -rtime -e ‘p Time.local(2006,9,3,14,36,59).rfc2822’
“Sun, 03 Sep 2006 14:36:59 +0000”
% TZ=Iceland ruby -rtime -e ‘p Time.rfc2822(“Sun, 03 Sep 2006 14:36:59
+0000”)’
Sun Sep 03 14:36:59 +0000 2006
% TZ=Iceland ruby -rtime -e ‘p
Time.rfc2822(“Sun, 03 Sep 2006 14:36:59 +0000”).utc?’
false
e$B$H$$$&$h$&$K!“%”%$%9%i%s%I$N;~9o$rJ8;zNs$K$7$?$H$-$K$Oe(B +0000
e$B$r;H$$!“e(B+0000 e$B$K=P2q$C$?$i!”%"%$%9%i%s%I$Ne(B
(e$B$b$7$/$OB>$NCO0he(B
e$B$Ne(B) e$B;~9o$@$H2r<a$7$^$9!#e(B
UTC e$B$K56Au$7$F$$$kITL@$NCOJ};~$H$$$&0UL#$,$"$k$N$+$H;W$$$^$7$?!#$I$&$7e(B
e$B$F$+$H$$$&$H!"e(B
e$B$U$`!#e(B
e$B$3$l$r$$k$He(B -0000 e$B$O?.Mj$KB-$k>pJs$,B8:$7$J$$>l9g$NJX59E*$J0u$K$9$.e(B
e$B$J$$$h$&$K;W$&$+$i$G$9!#e(B
e$B$3$l$O%(%i!<=hM}$G$7$+$?$J$/$=$&$9$k!"$H$$$&OC$@$H;d$O46$8$^e(B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(B
e$B$G$9$7!"e(B
e$B$($‘!"$@$+$i%$%.%j%9$J$I$H$$$&0UL#$,$D$/$N$OJQ$G$9$h$M$’!#e(B
obs-zone = “UT” / “GMT” / ; Universal Time
e$B$H$$$&%3%a%s%H$+$i$b$=$&$@$HH=CG$7$^$7$?!#e(B
e$B$^$!!“e(BBST (British Summer Time) e$B$O$”$j$^$;$s$7$M!#e(B