27.11.2014 Views

Working with date and time, time spans, time zones as well ... - Poco

Working with date and time, time spans, time zones as well ... - Poco

Working with date and time, time spans, time zones as well ... - Poco

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Constructing a LocalDateTime<br />

> A LocalDateTime can be constructed from:<br />

> the current <strong>date</strong> <strong>and</strong> <strong>time</strong><br />

> a Timestamp<br />

> a broken-down <strong>date</strong> <strong>and</strong> <strong>time</strong> (year, month, day, hour, minute,<br />

second, millisecond, microsecond)<br />

> a Julian day (stored in a double)<br />

> Optionally, a <strong>time</strong> zone differential can be specified <strong>as</strong> first<br />

argument (if none is specified, the system's current <strong>time</strong> zone is<br />

used).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!