one problem i having (in a long line)..

is that my DateAndTime class >> now

looks like this:

now
        ^ self basicNew
                ticks: (Duration
                                days: SqueakEpoch
                                hours: 0
                                minutes: 0
                                seconds: self totalSeconds
                                nanoSeconds: MillisecondClockOffset 
milliSeconds * NanosInMillisecond) ticks
                offset: self localOffset;
                yourself

the problem is, milliseconds is not defined anywhere.. this is there
as a remnant of sheduler..

i need to replace it with the REAL one:

now
        ^ self basicNew
                ticks: (Array with: SqueakEpoch with: Time totalSeconds with: 0)
                offset: self localTimeZone offset

the problem is that when i try to update "now", i keep getting the
error for that it can't find "milliSeconds"..

when i delete "now" and try to paste the correct one in.. i error out, too..

i think the snake is eating its tail..

can i replace the "now" method somehow with the image not running?

thanks!

-- 
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101

Reply via email to