Re: [Jruby-devel] java Date to ruby Time

2006-03-30 Thread Thomas E Enebo
On Wed, 29 Mar 2006, Nick Sieger defenestrated me: >Any more comments on this thread? Yep. Sorry I should have responded to this thread. I sort of committed half of this patch, but not exactly since I put that half ito a different function in a different class. Here is what we have right

Re: [Jruby-devel] java Date to ruby Time

2006-03-30 Thread David Corbin
On Thursday 30 March 2006 12:58 am, Charles O Nutter wrote: > Tom and I talked about this a bit...I think it's perfectly valid to have > Date and ruby's Time be interchangeable. I can appreciate the > backward-compatibility thing, but there's not so many people out there > using this that making Da

Re: [Jruby-devel] java Date to ruby Time

2006-03-29 Thread Charles O Nutter
Tom and I talked about this a bit...I think it's perfectly valid to have Date and ruby's Time be interchangeable. I can appreciate the backward-compatibility thing, but there's not so many people out there using this that making Date methods return Time would be a serious problem (methinks). Howeve

Re: [Jruby-devel] java Date to ruby Time

2006-03-29 Thread Nick Sieger
Any more comments on this thread?On 3/25/06, Nick Sieger <[EMAIL PROTECTED]> wrote: On 3/24/06, Nick Sieger <[EMAIL PROTECTED] > wrote: On 3/24/06, Thomas E Enebo <[EMAIL PROTECTED] > wrote:   Could time.at() be used to avoid all the extra sets?  I think theyboth use seconds since Epoch.  Unless

Re: [Jruby-devel] java Date to ruby Time

2006-03-25 Thread Nick Sieger
On 3/24/06, Nick Sieger <[EMAIL PROTECTED]> wrote: On 3/24/06, Thomas E Enebo <[EMAIL PROTECTED] > wrote:   Could time.at() be used to avoid all the extra sets?  I think theyboth use seconds since Epoch.  Unless it is timezone screwy?That would certainly simplify it if it works.  I'll try that thi

Re: [Jruby-devel] java Date to ruby Time

2006-03-24 Thread Nick Sieger
On 3/24/06, Thomas E Enebo <[EMAIL PROTECTED]> wrote:   Could time.at() be used to avoid all the extra sets?  I think theyboth use seconds since Epoch.  Unless it is timezone screwy?I can try it again, but I had problems getting Time to pick up the year/month/day when using epoch seconds.  Or wait,

Re: [Jruby-devel] java Date to ruby Time

2006-03-24 Thread Thomas E Enebo
Could time.at() be used to avoid all the extra sets? I think they both use seconds since Epoch. Unless it is timezone screwy? -Tom On Thu, 23 Mar 2006, Nick Sieger defenestrated me: > >This is a rather blunt instrument for now, but anyone have any >comments on the approach? See att