Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
Loading...
Searching...
No Matches
Public Attributes | List of all members
datetime::DateTime::ZoneCfg Struct Reference

Time zone configuration. More...

Public Attributes

int id
 Selected time zone id. More...
 
string name
 Selected time zone name (ignored on setCfg() if id != 0) More...
 
boolean enableAutoDST
 Enable automatic daylight saving time adjustment. More...
 

Detailed Description

Time zone configuration.

There are two approaches on how timezones are identified:

  1. id-based
    • timezone data identified with a numeric non-zero id
    • id != 0
    • name is the display name of the timezone and ignored on setCfg()
  2. name-based (see NOTES below!)
    • timezone data identified with a name from the IANA timezone database (aka Olson database)
    • id == 0
    • name is the official IANA timezone name, e.g. Europe/Berlin or America/New_York

NOTES:

Definition at line 60 of file DateTime.idl.

Member Data Documentation

◆ enableAutoDST

boolean datetime::DateTime::ZoneCfg::enableAutoDST

Enable automatic daylight saving time adjustment.

Definition at line 63 of file DateTime.idl.

◆ id

int datetime::DateTime::ZoneCfg::id

Selected time zone id.

Definition at line 61 of file DateTime.idl.

◆ name

string datetime::DateTime::ZoneCfg::name

Selected time zone name (ignored on setCfg() if id != 0)

Definition at line 62 of file DateTime.idl.


The documentation for this struct was generated from the following file: