22.12.2013 Views

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

Roku Object Reference - imaginArt

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.

oSystemTime ()<br />

roSystemTime provides the ability to read and write the time stored in the RTC<br />

This object supports getting and setting the time and time zone.<br />

The roSystemTime object implements ifSystemTime. This interface provides:<br />

• GetLocalDateTime() As ifDateTime<br />

• GetUtcDateTime()As ifDateTime<br />

• GetZoneDateTime(timezone_name As String) As ifDateTime<br />

• SetLocalDateTime(localDateTime As roDateTime) As Boolean<br />

• SetUtcDateTime(utcDateTime As roDateTime) As Boolean<br />

• GetTimeZone() As String<br />

• SetTimeZone(zone_name As String) As Boolean<br />

• IsValid() As Boolean<br />

o Returns true if the system time is set to something valid. It can be set from the RTC or NTP.<br />

Dates up to 1 January 2038 are supported.<br />

The following are the supported time zones:<br />

EST: US Eastern Time<br />

CST: US Central Time<br />

MST: US Mountain Time<br />

PST: US Pacific Time<br />

AKST: Alaska Time<br />

HST: Hawaii-Aleutian Time with no Daylight Saving (Hawaii)<br />

HST1: Hawaii-Aleutian Time with Daylight Saving<br />

MST1: US MT without Daylight Saving Time (Arizona)<br />

EST1: US ET without Daylight Saving Time (East Indiana)<br />

AST: Atlantic Time<br />

CST2: Mexico (Mexico City)<br />

MST2: Mexico (Chihuahua)<br />

PST2: Mexico (Tijuana)<br />

BRT: Brazil Time (Sao Paulo)<br />

NST: Newfoundland Time<br />

AZOT: Azores Time<br />

GMTBST: London/Dublin Time<br />

WET: Western European Time<br />

CET: Central European Time<br />

EET: Eastern European Time<br />

MSK: Moscow Time<br />

SAMT: Delta Time Zone (Samara)<br />

YEKT: Echo Time Zone (Yekaterinburg)<br />

IST: Indian Standard Time<br />

NPT: Nepal Time<br />

OMST: Foxtrot Time Zone (Omsk)<br />

JST: Japanese Standard Time<br />

CXT: Christmas Island Time (Australia)<br />

AWST: Australian Western Time<br />

AWST1: Australian Western Time without Daylight Saving Time<br />

ACST: CST, CDT, Central Standard Time, , Darwin, Australia/Darwin, Australian Central Time without<br />

Daylight Saving Time (Darwin)<br />

AEST: Australian Eastern Time<br />

AEST1: Australian Eastern Time without Daylight Saving Time (Brisbane)<br />

NFT: Norfolk (Island) Time (Australia)<br />

34

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

Saved successfully!

Ooh no, something went wrong!