If I inspect: Date readFrom: '10-04-2012' pattern: 'dd-mm-yyyy' I get the following exception: MessageNotUnderstood: ByteString>>atEnd Pharo1.3 Latest update: #13286 A bit old but I couldn't find a bug in the bug tracker. What did I do wrong? -- View this message in context: http://forum.world.st/Date-readFrom-tp3798424p3798424.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Hello, I think the readFrom method expects a Stream. Try: Date readFrom: '10-04-2012' readStream pattern: 'dd-mm-yyyy' Jan. On Thu, Sep 8, 2011 at 12:55 PM, Jeff Gray <jeff@rogerthedog.com> wrote:
If I inspect: Date readFrom: '10-04-2012' pattern: 'dd-mm-yyyy'
I get the following exception: MessageNotUnderstood: ByteString>>atEnd
Pharo1.3 Latest update: #13286
A bit old but I couldn't find a bug in the bug tracker. What did I do wrong?
-- View this message in context: http://forum.world.st/Date-readFrom-tp3798424p3798424.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Ah - so obvious now. Thank for the quick reply Jan. lol - clue was in the method descriptor readFrom: aStream -- View this message in context: http://forum.world.st/Date-readFrom-tp3798424p3798566.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
participants (2)
-
Jan van de Sandt -
Jeff Gray