Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 37813 invoked from network); 5 Jan 2007 03:52:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jan 2007 03:52:49 -0000 Received: (qmail 89193 invoked by uid 500); 5 Jan 2007 03:52:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 89153 invoked by uid 500); 5 Jan 2007 03:52:55 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 89143 invoked by uid 99); 5 Jan 2007 03:52:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 19:52:54 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Jan 2007 19:52:47 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B571A714311 for ; Thu, 4 Jan 2007 19:52:27 -0800 (PST) Message-ID: <21908635.1167969147740.JavaMail.jira@brutus> Date: Thu, 4 Jan 2007 19:52:27 -0800 (PST) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-234) Documentation of DateTime types is incomplete In-Reply-To: <333108284.1114185204478.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton resolved DERBY-234. ----------------------------------- Resolution: Fixed Fix Version/s: 10.3.0.0 Derby Info: (was: [Patch Available]) Committed mmss_required.diff to the docs trunk as subversion revision 492893. > Documentation of DateTime types is incomplete > --------------------------------------------- > > Key: DERBY-234 > URL: https://issues.apache.org/jira/browse/DERBY-234 > Project: Derby > Issue Type: Bug > Components: Documentation > Affects Versions: 10.0.2.0 > Reporter: Jack Klebanoff > Assigned To: Bryan Pendleton > Priority: Minor > Fix For: 10.3.0.0 > > Attachments: derby234.diff, mmss_required.diff, rrefsqlj27620.html > > > The documentation for datatypes DATE, TIME, and TIMESTAMP is incomplete. The documentation says that DATE, TIME, and TIMESTAMP accept any values accepted by the java.sql.Date, java.sql.Time, and java.sql.Timestamp classes respectively. Derby accepts a number of string formats: > DATE: > yyyy-mm-dd > mm/dd/yyyy > dd.mm.yyyy > TIME: > hh:mm[:ss] > hh.mm[.ss] > hh[:mm] {AM | PM} > TIMESTAMP: > yyyy-mm-dd-hh[.mm[.ss[.nnnnnn]]] > yyyy-mm-dd hh[:mm[:ss[.nnnnnn]]] > The year must always have 4 digits. Months, days, and hours may have one or two digits. Minutes and seconds, if present, must have two digits. Nanoseconds, if present may have 1 to 6 digits. > Derby also accepts strings in the locale specific datetime format, using the locale of the database server. If there is an ambiguity the built in formats above take precedence. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira