Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 1 and Version 2 of LocaleTimeExample

Show
Ignore:
Author:
larsivi (IP: 84.48.50.144)
Timestamp:
05/22/08 12:17:12 (6 years ago)
Comment:

Copied from trunk

Legend:

Unmodified
Added
Removed
Modified
  • LocaleTimeExample

    v1 v2  
    1212private import tango.io.Console; 
    1313 
    14 private import tango.util.time.DateTime
     14private import tango.time.Clock
    1515 
    1616private import tango.text.locale.Locale; 
    2020        auto layout = new Locale; 
    2121 
    22         Cout (layout ("{:ddd, dd MMMM yyyy HH:mm:ss z}", DateTime.now)).newline; 
     22        Cout (layout ("{:ddd, dd MMMM yyyy HH:mm:ss z}", Clock.now)).newline; 
    2323} 
    24  
    2524}}}