  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Struts - A MVC web framework | | Tomcat - JSP/Servlet container | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | | JSP - A mailing list about Java Server Pages specification and reference | |
Struts & Hibernate
|
|
|
  | | | rfc2822 clarification on date headers | rfc2822 clarification on date headers 2004-01-20 - By Donie Kelly
Back Hi all Javamail generates a date in the format: Date: Tue, 20 Jan 2004 11:57:37 +0000 (GMT) The spec below implies that the timezone is either a numeric offset or the timezone is specified like Date: Fri, 23 Jan 2004 11:57:24 GMT Can somebody clarify why javamail uses both forms? Extract from rfc2822 below Thanks Donie 3.3. Date and Time Specification Date and time occur in several header fields. This section specifies the syntax for a full date and time specification. Though folding white space is permitted throughout the date-time specification, it is RECOMMENDED that a single space be used in each place that FWS appears (whether it is required or optional); some older implementations may not interpret other occurrences of folding white space correctly. date-time = [ day-of-week "," ] date FWS time [CFWS] day-of-week = ([FWS] day-name) / obs-day-of-week day-name = "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun" date = day month year year = 4*DIGIT / obs-year month = (FWS month-name FWS) / obs-month month-name = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun" / "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec" day = ([FWS] 1*2DIGIT) / obs-day time = time-of-day FWS zone time-of-day = hour ":" minute [ ":" second ] hour = 2DIGIT / obs-hour minute = 2DIGIT / obs-minute second = 2DIGIT / obs-second zone = (( "+" / "-" ) 4DIGIT) / obs-zone The day is the numeric day of the month. The year is any numeric year 1900 or later. The time-of-day specifies the number of hours, minutes, and optionally seconds since midnight of the date indicated. The date and time-of-day SHOULD express local time. The zone specifies the offset from Coordinated Universal Time (UTC, formerly referred to as "Greenwich Mean Time") that the date and time-of-day represent. The "+" or "-" indicates whether the time-of-day is ahead of (i.e., east of) or behind (i.e., west of) Universal Time. The first two digits indicate the number of hours difference from Universal Time, and the last two digits indicate the number of minutes difference from Universal Time. (Hence, +hhmm means +(hh * 60 + mm) minutes, and -hhmm means -(hh * 60 + mm) minutes). The form "+0000" SHOULD be used to indicate a time zone at Universal Time. Though "-0000" also indicates Universal Time, it is used to indicate that the time was generated on a system that may be in a local time zone other than Universal Time and therefore indicates that the date-time contains no information about the local time zone. A date-time specification MUST be semantically valid. That is, the day-of-the-week (if included) MUST be the day implied by the date, the numeric day-of-month MUST be between 1 and the number of days allowed for the specified month (in the specified year), the time-of-day MUST be in the range 00:00:00 through 23:59:60 (the number of seconds allowing for a leap second; see [STD12]), and the zone MUST be within the range -9959 through +9959.
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:dt= "uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns="http://www.w3.org/TR/REC -html40">
<head> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859 (See http://iso-8859.ora-code.com)-1">
<meta name="Microsoft Theme 2.00" content="capsules 001">
<meta name=ProgId content=Word.Document> <meta name=Generator content="Microsoft Word 9"> <meta name=Originator content="Microsoft Word 9"> <link rel=File-List href="cid:filelist.xml@(protected)"> <!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:DoNotRelyOnCSS/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:DocumentKind>DocumentEmail</w:DocumentKind> <w:EnvelopeVis/> </w:WordDocument> </xml><![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:"Arial Unicode MS"; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 2 2 2 2 2 4; mso-font-charset:128; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1 -369098753 63 0 4129279 0;} @(protected) {font-family:"\@(protected) Unicode MS"; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 2 2 2 2 2 4; mso-font-charset:128; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1 -369098753 63 0 4129279 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Arial; mso-fareast-font-family:"Times New Roman"; color:black;} h1 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:1; font-size:24.0pt; font-family:Arial; color:#000099; mso-font-kerning:16.0pt; font-weight:normal; mso-bidi-font-weight:bold;} h2 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:2; font-size:18.0pt; font-family:Arial; color:#000099; font-weight:normal; mso-bidi-font-weight:bold; mso-bidi-font-style:italic;} h3 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:3; font-size:14.0pt; font-family:Arial; color:#000099; font-weight:normal; mso-bidi-font-weight:bold;} h4 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:4; font-size:12.0pt; font-family:Arial; color:#000099; font-weight:normal; mso-bidi-font-weight:bold;} h5 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; mso-outline-level:5; font-size:10.0pt; font-family:Arial; color:#000099; font-weight:normal; mso-bidi-font-weight:bold; mso-bidi-font-style:italic;} h6 {mso-style-next:Normal; margin-top:12.0pt; margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm; mso-pagination:widow-orphan; mso-outline-level:6; font-size:8.0pt; font-family:Arial; color:#000099; font-weight:normal; mso-bidi-font-weight:bold;} a:link, span.MsoHyperlink {color:#000099; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {color:#339966; text-decoration:underline; text-underline:single;} p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig {margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:12.0pt; font-family:Arial; mso-fareast-font-family:"Times New Roman"; color:black;} pre {margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Arial Unicode MS"; color:black;} span.EmailStyle15 {mso-style-type:personal-compose; mso-ansi-font-size:10.0pt; mso-ascii-font-family:Arial; mso-hansi-font-family:Arial; mso-bidi-font-family:Arial; color:black;} @(protected) Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:35.4pt; mso-footer-margin:35.4pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026"/> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1"/> </o:shapelayout></xml><![endif]--> </head>
<body bgcolor=white background="cid:image001.gif@(protected)" lang=EN-GB link="#000099" vlink="#339966" style='tab-interval:36.0pt'> <img src="cid:image001.gif@(protected)" v:src="cid:image001.gif@(protected)" v:shapes="_x0000_Mail" width=0 height=0 class=shape style='display:none;width:0;height:0'><!--[if gte mso 9]> <xml> <v:background id="_x0000_s1025" o:bwmode="white" o:targetscreensize="800,600"> <v:fill src="cid:image001.gif@(protected)" o:title="captext" type= "frame"/> </v:background></xml><![endif]-->
<div class=Section1><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>Hi all<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt' >Javamail generates a date in the format: <span style="mso-spacerun: yes"> </span>Date: Tue, 20 Jan 2004 11:57:37 +0000 (GMT)<o:p></o:p></span></font></pre ><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>The spec below implies that the timezone is either a numeric offset or the timezone is specified like Date: Fri, 23 Jan 2004 11:57:24 GMT<o:p></o:p></span></font>< /pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>Can somebody clarify why javamail uses both forms?<o:p></o:p></span></font></pre> <pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt' >Extract from rfc2822 below<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt' >Thanks<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>Donie <o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>3.3. Date and Time Specification<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>Date and time occur in several header fields.<span style="mso-spacerun: yes"> </span>This section specifies<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>the syntax for a full date and time specification.<span style="mso-spacerun: yes"> </span>Though folding <o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>white space is permitted throughout the date-time specification, it<o:p></o:p></span></font></pre><pre> <font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>is RECOMMENDED that a single space be used in each place that FWS<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>appears (whether it is required or optional); some older<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>implementations may not interpret other occurrences of folding white<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>space correctly.<o:p></o:p></span ></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>date -time<span style="mso-spacerun: yes"> </span >=<span style="mso-spacerun: yes"> </span>[ day-of-week "," ] date FWS time [CFWS]<o:p></o:p></span></font></pre> <pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>day -of-week<span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>([FWS] day-name) / obs-day-of-week<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>day -name<span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> < /span>"Mon" / "Tue" / "Wed" / "Thu" /<o :p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span><span style="mso -spacerun: yes"> </span>"Fri" / "Sat" / "Sun"<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>date <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>day month year<o:p></o:p></span></font></pre><pre> <font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>year <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>4*DIGIT / obs-year<o:p></o:p></span></font></pre><pre> <font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>month <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>(FWS month-name FWS) / obs-month<o:p></o:p></span></font>< /pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>month -name<span style="mso-spacerun: yes"> </span>= <span style="mso-spacerun: yes"> </span> "Jan" / "Feb" / "Mar" / "Apr" /<o:p></o :p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes">   ; </span><span style="mso-spacerun: yes"> </span>"May" / " ;Jun" / "Jul" / "Aug" /<o:p></o:p></span></font></pre> <pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes">   ; </span>"Sep" / "Oct" / "Nov" / "Dec "<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>day <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>([FWS] 1*2DIGIT) / obs-day<o:p></o:p></span>< /font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>time <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>time-of-day FWS zone<o:p></o:p></span></font></pre> <pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>time -of-day<span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>hour ":" minute [ ":" second ]<o:p></o:p></span></font></pre><pre ><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>hour <span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> </span>=<span style= "mso-spacerun: yes"> </span>2DIGIT / obs -hour<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt' >minute<span style="mso-spacerun: yes">   ; </span>=<span style="mso-spacerun: yes"> </span>2DIGIT / obs-minute<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt' >second<span style="mso-spacerun: yes">   ; </span>=<span style="mso-spacerun: yes"> </span>2DIGIT / obs-second<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'>zone <span style="mso-spacerun: yes"> </span>=<span style="mso-spacerun: yes"> </span>(( "+" / "-" ) 4DIGIT) / obs-zone <o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>The day is the numeric day of the month.<span style="mso-spacerun: yes"> </span>The year is any numeric<o:p ></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span><span style="mso-spacerun: yes"> < /span>year 1900 or later.<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>The time-of-day specifies the number of hours, minutes, and<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>optionally seconds since midnight of the date indicated.<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>The date and time-of-day SHOULD express local time.<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>The zone specifies the offset from Coordinated Universal Time (UTC,<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>formerly referred to as " ;Greenwich Mean Time") that the date and<o:p></o:p></span></font></pre><pre ><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>time-of-day represent.<span style ="mso-spacerun: yes"> </span>The "+" or "-" indicates whether the<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>time-of-day is ahead of (i.e., east of) or behind (i.e., west of)<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>Universal Time.<span style="mso -spacerun: yes"> </span>The first two digits indicate the number of hours <o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>difference from Universal Time, and the last two digits indicate the<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>number of minutes difference from Universal Time.<span style="mso-spacerun: yes"> </span>(Hence, +hhmm<o:p> </o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>means +(hh * 60 + mm) minutes, and -hhmm means -(hh * 60 + mm)<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>minutes).<span style="mso -spacerun: yes"> </span>The form "+0000" SHOULD be used to indicate a time zone at<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>Universal Time.<span style="mso -spacerun: yes"> </span>Though "-0000" also indicates Universal Time, it is<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>used to indicate that the time was generated on a system that may be<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>in a local time zone other than Universal Time and therefore<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>indicates that the date-time contains no information about the local<o:p></o:p></span></font></pre><pre> <font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>time zone.<o:p></o:p></span>< /font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>A date-time specification MUST be semantically valid.<span style="mso-spacerun: yes"> </span>That is, the<o :p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>day-of-the-week (if included) MUST be the day implied by the date,<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>the numeric day-of-month MUST be between 1 and the number of days<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>allowed for the specified month (in the specified year), the<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>time-of-day MUST be in the range 00:00:00 through 23:59:60 (the<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>number of seconds allowing for a leap second; see [STD12]), and the<o:p></o:p></span></font></pre><pre><font size=2 color=black face="Arial Unicode MS"><span style='font-size:10.0pt'><span style="mso-spacerun: yes"> </span>zone MUST be within the range -9959 through +9959.<o:p></o:p></span></font></pre>
<p class=MsoNormal><span class=EmailStyle15><font size=2 color=black face=Arial><span style='font-size:10.0pt;mso-bidi-font-size:12.0pt'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></font></span></p>
</div>
</body>
</html>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|
 |