Date

Time broken down into its components.

Members

Functions

parse
void parse(string s)

Parse date out of string s[] and store it in this Date instance.

Variables

day
int day;

1..31

hour
int hour;

0..23

minute
int minute;

0..59

month
int month;

1..12

ms
int ms;

0..999

second
int second;

0..59

tzcorrection
int tzcorrection;

-1200..1200 correction in hours

weekday
int weekday;

0: not specified, 1..7: Sunday..Saturday

year
int year;

use int.min as "nan" year value

Meta