Category talk:Wren-date: Difference between revisions

Content added Content deleted
(→‎Source code: Added a 'wait' method to the Duration class.)
(Removed type aliases which are no longer needed.)
Line 3: Line 3:
<lang ecmascript>/* Module "date.wren" */
<lang ecmascript>/* Module "date.wren" */


import "/trait" for Comparable
import "./trait" for Comparable


/*
/*
Line 768: Line 768:
stop() { _start = null }
stop() { _start = null }
}
}

// Type aliases for classes in case of any name clashes with other modules.
var Date_Date = Date
var Date_Duration = Duration
var Date_Stopwatch = Stopwatch
var Date_Comparable = Comparable // in case imported indirectly


// Initialize Date tables.
// Initialize Date tables.