|
Boost Users : |
From: Tonal (yg-boost-users_at_[hidden])
Date: 2003-07-31 15:38:25
This is simple refactore and improved date_parsing.hpp
begin 666 date_parsing.hpp.patch
M*BHJ(&1A=&5?<&%R<VEN9RYH<' N;W)I9PE4:'4_at_075G(#$U(#$Y.C4W.C,X
M(#(P,#(-"BTM+2!D871E7W!A<G-I;F<N:'!P"51H=2!*=6P@,S$@,C Z,S$Z
M,3(@,C P,PT**BHJ*BHJ*BHJ*BHJ*BHJ#0HJ*BH@,30L,SD@*BHJ*@T*(" -
M"B @;F%M97-P86-E(&1A=&5?=&EM92![#0H@( T*(" -"B @(" O+R$@1V5N
M97)I8R!F=6YC=&EO;B!T;R!P87)S92!A(&1E;&EM:71E9"!D871E("AE9SH@
M,C P,BTP,BTQ,"D-"B @("!T96UP;&%T93QC;&%S<R!D871E7W1Y<&4^#0H@
M(" @9&%T95]T>7!E#0H@(" @<&%R<V5?9&%T92AC;VYS="!S=&0Z.G-T<FEN
M9R8@<RD-"B @("![#0HM(" @("!T>7!E9&5F('1Y<&5N86UE(&1A=&5?='EP
M93HZ>65A<E]T>7!E('EE87)?='EP93L-"BT@(" @(&EN="!P;W,@/2 P.PT*
M+2 @(" @='EP96YA;64_at_9&%T95]T>7!E.CIY;61?='EP92!Y;60H>65A<E]T
M>7!E.CIM:6XH*2PQ+#$I.PT*(" @(" @8F]O<W0Z.G1O:V5N:7IE<CQB;V]S
M=#HZ8VAA<E]D96QI;6ET97)S7W-E<&%R871O<CQC:&%R/B ^('1O:RAS*3L-
M"B$@(" @(&9O<BAB;V]S=#HZ=&]K96YI>F5R/#XZ.FET97)A=&]R(&)E9SUT
M;VLN8F5G:6XH*3L_at_8F5G(3UT;VLN96YD*"D[*RMB96<I>PT*(2 @(" @("!I
M;G0@:2 ](&)O;W-T.CIL97AI8V%L7V-A<W0\:6YT/B_at_J8F5G*3L-"B$@(" @
M(" @<W=I=&-H*'!O<RD@>PT*(2 @(" @("!C87-E(# Z('EM9"YY96%R(#T@
M:3L_at_8G)E86L[#0HA(" @(" @(&-A<V4@,3H@>6UD+FUO;G1H(#T@:3L_at_8G)E
M86L[#0HA(" @(" @(&-A<V4@,CH@>6UD+F1A>2 ](&D[(&)R96%K.PT*(2 @
M(" @("!].PT*(2 @(" @("!P;W,K*SL-"B$@(" @('T-"B$@(" @(')E='5R
M;B!D871E7W1Y<&4H>6UD*3L-"B @("!]#0H@( T*(" @("\O(2!'96YE<FEC
M(&9U;F-T:6]N('1O('!A<G-E('5N9&5L:6UI=&5D(&1A=&4@*&5G.B R,# R
M,#(P,2D-"BTM+2 Q-"PU," M+2TM#0H@( T*("!N86UE<W!A8V4_at_9&%T95]T
M:6UE('L-"B @#0HK(&YA;65S<&%C92!D971A:6P@>PT**R @( T**R @("\O
M(2!'96YE<FEC(&9U;F-T:6]N('1O('!A<G-E(&1A=&4-"BL@("!T96UP;&%T
M93QC;&%S<R!D871E7W1Y<&4L(&-L87-S('1O:V5N:7IE<CX-"BL@("!D871E
M7W1Y<&4-"BL@("!P87)S95]D871E*&-O;G-T('1O:V5N:7IE<B8@=&]K*2 -
M"BL@("![#0HK(" @("!T>7!E9&5F('1Y<&5N86UE(&1A=&5?='EP93HZ>65A
M<E]T>7!E('EE87)?='EP93L-"BL@(" @('1Y<&5N86UE(&1A=&5?='EP93HZ
M>6UD7W1Y<&4@>6UD*'EE87)?='EP93HZ;6EN*"DL(#$L(#$I.PT**R @(" @
M='EP961E9B!T>7!E;F%M92!T;VME;FEZ97(Z.F-O;G-T7VET97)A=&]R(&ET
M97)A=&]R.PT**R @(" @:71E<F%T;W(@8F5G(#T@=&]K+F)E9VEN*"DL(&5N
M9" ]('1O:RYE;F0H*3L-"BL@(" @(&EF("AB96<@/3T_at_96YD*0T**R @(" @
M("!R971U<FX_at_9&%T95]T>7!E*'EM9"D[#0HK(" @("!Y;60N>65A<B ](&)O
M;W-T.CIL97AI8V%L7V-A<W0\:6YT/B_at_J8F5G*3L-"BL@(" @(&EF("@K*V)E
M9R ]/2!E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86L[#0HA(" @
M(" @('T[#0HA(" @(" @('!O<RLK.PT*(2 @(" @?0T*(2 @(" @<F5T=7)N
M(&1A=&5?='EP92AY;60I.PT*(" @('T-"B @#0H@( T*+2TM(#8S+#<Q("TM
M+2T-"B @("!D871E7W1Y<&4-"B @("!P87)S95]D871E,BAC;VYS="!S=&0Z
M.G-T<FEN9R8@<RD-"B @("![#0H@(" @("!B;V]S=#HZ8VAA<E]D96QI;6ET
M97)S7W-E<&%R871O<CQC:&%R/B!D96QI;2_at_B1%0B*3L-"B @(" @(&)O;W-T
M.CIT;VME;FEZ97(\8F]O<W0Z.F-H87)?9&5L:6UI=&5R<U]S97!A<F%T;W(\
M8VAA<CX@/B!T;VLH<RD[#0HA(" @("!R971U<FX_at_9&5T86EL.CIP87)S95]D
E871E/&1A=&5?='EP93XH=&]K*3L-"B @("!]#0H@( T*(" -"@``
`
end
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net