index Zimbu documentation

MODULE TIME @directory

summary

     

Various time related stuff

Still very much under development.

CLASS  Values @public  Broken-down values of a moment in time.
ENUM  Dst @public  Information about daylight saving time.
 
list<string>  daysShort @public  List to lookup the short English day of the week: "Sun", "Mon", etc.
list<string>  daysFull @public  List to lookup the English day of the week: "Sunday", "Monday", etc.
list<string>  monthsShort @public  List to lookup the short English month name: "Jan", "Feb", etc.
list<string>  monthsFull @public  List to lookup the English month name: "January", "February", etc.
 
current() int @public  Returns the curent Coordinated Universal Time (UTC) since epoch in usec.
sleep(usec) @public  Do nothing for usec microseconds.
sleepSec(sec) @public  Do nothing for sec seconds.
 

members (alphabetically)

     

list<string> daysFull @public

     

List to lookup the English day of the week: "Sunday", "Monday", etc.

Sunday is used as the first day of the week, index zero.

list<string> daysShort @public

     

List to lookup the short English day of the week: "Sun", "Mon", etc.

Sunday is used as the first day of the week, index zero.

list<string> monthsFull @public

     

List to lookup the English month name: "January", "February", etc.

January has index zero.

list<string> monthsShort @public

     

List to lookup the short English month name: "Jan", "Feb", etc.

January has index zero.

FUNC current() int @public

     

Returns the curent Coordinated Universal Time (UTC) since epoch in usec.

PROC sleep(int usec) @public

     

Do nothing for usec microseconds.

PROC sleepSec(int sec) @public

     

Do nothing for sec seconds.

license

      Copyright 2010 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0