-
Notifications
You must be signed in to change notification settings - Fork 3
kiwi.lang.System
static function System.currentTimeMillis() as LongInt
Returns the number of milliseconds elapsed since midnight (00:00:00), January 1st, 1970, Coordinated Universal Time (UTC), according to the system clock.
Example Code:
#include once "kiwi\kiwi.bi"
print System.currentTimeMillis()
static function System.unixTime() as Long
Returns the number of seconds elapsed since midnight (00:00:00), January 1st, 1970, Coordinated Universal Time (UTC), according to the system clock.
Example Code:
#include once "kiwi\lang\System.bi"
print System.unixTime()
static function System.lineSeparator() as String
Description: Returns the system-dependent line separator string. On UNIX systems, it returns "\n" on Microsoft Windows systems it returns "\r\n".
Example Code:
#include once "kiwi\kiwi.bi"
print System.lineSeparator()
static sub System.arraycopy (src() As Type, srcPos as Integer, dest() As Type, destPos as Integer, length as Integer)
Copies an array from the specified source array, beginning at the specified position, to the specified position of the destination array.
Parameters:
@param src is the source array.
@param srcPos is the starting position in the source array.
@param dest is the destination array.
@param destPos is starting position in the destination data array.
@param length is the number of array elements to be copied.
Example Code:
#include once "kiwi\kiwi.bi"
'This example code will add 10 strings to array src and
'copy them to array dest using the System.arrayCopy method.
Dim src(0 to 9) As String
Dim dest(0 to 9) As String
for i as Integer = 0 to 9
src(i) = "String #" & str(i)
next
' Copy array src to dest
System.arraycopy(src(), 0, dest(), 0 , Ubound(dest)+1)
For i as Integer = 0 To Ubound(dest)
Print dest(i)
Next i
- MySQL/MariaDB - Coming to v1.0.2
- ArrayList
- Comparator
- HashMap - Coming to v1.0.2
- Queue