dbf.date

Authors Carlos Santander Bernal
Version 0.3
Date February 5, 2013
History
  • Version 0.3 - February 5, 2013
    • Updated for D2
    • Added constructor that accepts a SysTime
  • Version 0.2n - May 23, 2006: Removed Mango dependency
  • Version 0.2 - May 22, 2006: Added Date.toString
  • Version 0.1 - May 18, 2006: Initial release
License zlib/libpng
struct Date;

Simple date representation

static Date opCall(short year, ubyte month, ubyte day);

Struct ctor

Parameters
short year the year
ubyte month the month
ubyte day the day
Returns a new Date
static Date opCall(SysTime time);

Struct ctor

Parameters
SysTime time a std.date.SysTime value
Returns a new Date
string toString();

Date in ISO format

short year;
ubyte month;
ubyte day;

the parts of a Date