Don't forget that the previous impl is there TimeSpanInt64.Dario, please add the BREAKING CHANGE to releasenotes.txt Thanks.
2009/3/25 Roger Kratz <[email protected]> > IMHO – even with timespan between 0 and 24h, current impl give strange > results. As shown in attached jira tests, the timespan read has incorrect > days (even when timespan between 0 and 24h). Timespan persisted != timespan > read. Earlier nh tests only confirmed that hour, minutes and seconds > properties of the timespan are the same. > > > > > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Dario Quintana > *Sent:* den 25 mars 2009 16:50 > > *To:* [email protected] > *Subject:* [nhusers] Re: TimeSpan >24h or <0h > > > > The idea of TimeSpan is use for example on SqlServer2008 the Db.Type: time. > Then you will able to persist times between: 00:00:00.000000 to > 23:59:59.9999999. > > On Wed, Mar 25, 2009 at 10:54 AM, Roger Kratz <[email protected]> > wrote: > > Done > > http://nhjira.koah.net/browse/NH-1715 > > > > > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Fabio Maulo > *Sent:* den 25 mars 2009 14:09 > *To:* [email protected] > *Subject:* [nhusers] Re: TimeSpan >24h or <0h > > > > JIRA please with a very little NUnit test (see the "Welcome" on our JIRA > home page if you never sent a NUnit test to us). > > Do it ASAP 2009/03/29 is the day of Alpha2 > > 2009/3/25 Roger Kratz <[email protected]> > > Hi > > > > The new (NH-1657) TimeSpan type gives wrong result if timespan value is > more than 24 hours or negative (I’m using sql2005 dialect, not mention any > type in mapping file -> datetime in db). > > > > Am I suppose to use TimeSpanInt64 to get this to work or is it a bug? > Should I JIRA this? > > IMHO - If it’s by design to not work outside 0-24h, I would prefer an > exception rather than wrong result. > > > > /Roger > > > > > > > > > -- > Fabio Maulo > > > > > > > > > > > -- > Dario Quintana > http://darioquintana.com.ar > > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
