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

Changeset 2965

Show
Ignore:
Timestamp:
12/06/07 00:32:22 (1 year ago)
Author:
kris
Message:

updates for Time

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/example/networking/selector.d

    r2913 r2965  
    103103    uint        closeCount          = 0; 
    104104    uint        errorCount          = 0; 
    105     DateTime    start               = Clock.now; 
     105    Time        start               = Clock.now; 
    106106    Thread      clientThread; 
    107107 
     
    315315    try 
    316316    { 
    317         InternetAddress     addr    = new InternetAddress(SERVER_ADDR, SERVER_PORT); 
     317        InternetAddress     addr = new InternetAddress(SERVER_ADDR, SERVER_PORT); 
    318318        char[MAX_LENGTH]    buffer; 
    319319        uint count; 
  • trunk/example/text/localetime.d

    r2465 r2965  
    1010private import tango.io.Console; 
    1111 
    12 private import tango.util.time.DateTime; 
     12private import tango.util.time.Time; 
    1313 
    1414private import tango.text.locale.Locale; 
     
    1818        auto layout = new Locale; 
    1919 
    20         Cout (layout ("{:ddd, dd MMMM yyyy HH:mm:ss z}", DateTime.now)).newline; 
     20        Cout (layout ("{:ddd, dd MMMM yyyy HH:mm:ss z}", Time.now)).newline; 
    2121}