RE: [Sparql4j-devel] 1st draft of use cases, requirements and design committed to cvs
Status: Pre-Alpha
Brought to you by:
jsaarela
From: Seaborne, A. <and...@hp...> - 2005-11-15 14:27:02
|
-------- Original Message -------- > From: Janne Saarela <mailto:jan...@pr...> > Date: 11 November 2005 11:19 >=20 > > Your remark on the timezone was a good one - what I don't know (yet) > > is whether the javax.xml.datatypes could be returned from > > getTimestamp() methods (i.e. do these types inherit any of the java > > basic data types) or if we need a method signature? >=20 > The last question should have included word 'new' i.e. 'do we need a new > method signature"? >=20 > Janne A new method signature would mean that the app needs to use a new interface to get the functionality. Doable but may be not what we want. How about returning java.sql.Timestamp (extends java.util.Date, not Calendar) as usual with the mapping of XSD datatype to the string form that DateFormat accepts. This is OK for query - but for update, things might not round trip in lexical form (the time is right but the way it is written may change). Andy |