![]() |
0.1.8
|
Helios Time structure for representing time values. More...
Helios Time structure for representing time values.
Definition at line 583 of file DataTypes.py.
Public Member Functions | |
str | __repr__ (self) |
str | __str__ (self) |
__init__ (self, int hour=0, int minute=0, int second=0) | |
Initialize a Time object. | |
from_list (self, List[int] input_list) | |
Initialize from a list [hour, minute, second]. | |
List[int] | to_list (self) |
Convert to list [hour, minute, second]. | |
bool | __eq__ (self, other) |
Check equality with another Time object. | |
bool | __ne__ (self, other) |
Check inequality with another Time object. | |
Public Attributes | |
hour = hour | |
minute = minute | |
second = second | |
Static Protected Attributes | |
list | _fields_ |
pyhelios.wrappers.DataTypes.Time.__init__ | ( | self, | |
int | hour = 0, | ||
int | minute = 0, | ||
int | second = 0 ) |
Initialize a Time object.
hour | Hour (0-23) |
minute | Minute (0-59) |
second | Second (0-59) |
Definition at line 603 of file DataTypes.py.
bool pyhelios.wrappers.DataTypes.Time.__eq__ | ( | self, | |
other ) |
Check equality with another Time object.
Definition at line 636 of file DataTypes.py.
bool pyhelios.wrappers.DataTypes.Time.__ne__ | ( | self, | |
other ) |
Check inequality with another Time object.
Definition at line 644 of file DataTypes.py.
str pyhelios.wrappers.DataTypes.Time.__repr__ | ( | self | ) |
Definition at line 589 of file DataTypes.py.
str pyhelios.wrappers.DataTypes.Time.__str__ | ( | self | ) |
Definition at line 592 of file DataTypes.py.
pyhelios.wrappers.DataTypes.Time.from_list | ( | self, | |
List[int] | input_list ) |
Initialize from a list [hour, minute, second].
Definition at line 624 of file DataTypes.py.
List[int] pyhelios.wrappers.DataTypes.Time.to_list | ( | self | ) |
Convert to list [hour, minute, second].
Definition at line 632 of file DataTypes.py.
|
staticprotected |
Definition at line 587 of file DataTypes.py.
pyhelios.wrappers.DataTypes.Time.hour = hour |
Definition at line 619 of file DataTypes.py.
pyhelios.wrappers.DataTypes.Time.minute = minute |
Definition at line 620 of file DataTypes.py.
pyhelios.wrappers.DataTypes.Time.second = second |
Definition at line 621 of file DataTypes.py.