Adding seconds to a Timestamp has limitations on Mac OS X

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Adding seconds to a Timestamp has limitations on Mac OS X

kobetic
This is a consequence of switching to SystemTimeZone. More information can be found in the release notes, section "New TimeZoneAPI: SystemTimeZone"

"Rob Vens"<[hidden email]> wrote:

> I am using VW 7.7
> Attempting to add, say 1272359940000 seconds to a Timestamp results in an
> exception. One would expect a proper computation, would one not?
>
> Unhandled exception: The timestamp cannot be represented in unix 32-bit
> seconds.
> MacOSXSystemSupport(Object)>>error:
> MacOSXSystemSupport(UnixSystemSupport)>>errorTimestampOutOfRange
> MacOSXSystemSupport(UnixSystemSupport)>>checkTimestamp:
> MacOSXSystemSupport(UnixSystemSupport)>>timestampToSeconds:
> SystemTimeZone>>timestampToSeconds:
> Timestamp>>asSeconds
> Timestamp>>asNanoseconds
> Timestamp>>sumFromDuration:
> Timestamp>>+
> Timestamp>>addSeconds:

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc