Mantis - Squeak
Viewing Issue Advanced Details
6513 Kernel minor N/A 05-25-07 13:20 05-25-07 13:20
gokr  
 
low  
new 3.9  
open  
none    
none  
0006513: Reading dates from a stream using a pattern
Read a Date from the stream based on the pattern which can include the tokens:
    
        y = A year with 1-n digits
        yy = A year with 2 digits
        yyyy = A year with 4 digits
        m = A month with 1-n digits
        mm = A month with 2 digits
        d = A day with 1-n digits
        dd = A day with 2 digits
        
    ...and any other Strings inbetween. Representing $y, $m and $d is done using
    \y, \m and \d and slash itself with \\. Simple example patterns:

        'yyyy-mm-dd'
        'yyyymmdd'
        'yy.mm.dd'
        'y-m-d'

    A year given using only two decimals is considered to be >2000.
 DateReadFromPattern.1.cs.gz [^] (1,019 bytes) 05-25-07 13:20

There are no notes attached to this issue.