Re: DateTools.set-

2006-08-24 Thread Chris Hostetter
I think the confusion here is that when DateTools looks at a Date object and a Resolution, it does it's calculations in GMT (so when you ask what "day" it is at a particular moment, it tells you the current day in GMT, when you ask which month, it tells you the month in GMT, etc...) This may seem

RE: DateTools.set-

2006-08-24 Thread Paul Snyder
OK, that being the case, is there a prescribed method for dealing with this? Does anybody have a "best practice" for me? -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Thursday, August 24, 2006 2:21 AM To: java-user@lucene.apache.org Subject: Re: Dat

RE: DateTools.set-

2006-08-24 Thread Chris Hostetter
ect ... that doesn't mean less precise field types can't be defined later, just that we wanted the defaut to handle every possibility) : : -Original Message- : From: Chris Hostetter [mailto:[EMAIL PROTECTED] : Sent: Thursday, August 24, 2006 2:21 AM : To: java-user@lucene.apache.o