「App:Library:FabGL:Struct:DateTime」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
(ページの作成:「== struct == {| class="wikitable" | |} ----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Class_List 戻る]」)
 
 
(同じ利用者による、間の4版が非表示)
1行目: 1行目:
== struct ==
+
== struct DateTime ==
 +
日付と時刻を表します。
 +
{| class="wikitable"
 +
|#include <[http://www.fabglib.org/_d_s3231_8h_source.html DS3231.h]>
 +
|}
 +
 
 +
== Public Member Functions ==
 +
{| class="wikitable"
 +
|time_t  [http://www.fabglib.org/structfabgl_1_1_date_time_ae255b9bee770d76a5cfae70591c922c3.html#ae255b9bee770d76a5cfae70591c922c3 timestamp] (int timezone)
 +
 
 +
Calculates Unix timestamp.
 +
|}
 +
 
  
 +
== Public Attributes ==
 
{| class="wikitable"
 
{| class="wikitable"
|
+
|int8_t  dayOfMonth
 +
|-
 +
|int8_t  dayOfWeek
 +
|-
 +
|int8_t  hours
 +
|-
 +
|int8_t  minutes
 +
|-
 +
|int8_t  month
 +
|-
 +
|int8_t  seconds
 +
|-
 +
|int16_t  year
 
|}
 
|}
 +
 +
== Detailed Description ==
 +
日付と時刻を表します。
 +
 +
'''Examples:'''<blockquote>[http://www.fabglib.org/_s_s_d1306__o_l_e_d_2128x64_2_r_t_clock_2_r_t_clock_8ino-example.html#_a5 SSD1306_OLED/128x64/RTClock/RTClock.ino].</blockquote>[http://www.fabglib.org/_d_s3231_8h_source.html#l00058 Definition at line 58 of file DS3231.h].
 +
----
 +
The documentation for this struct was generated from the following file:
 +
 +
* [http://www.fabglib.org/_d_s3231_8h_source.html DS3231.h]
 +
* [http://www.fabglib.org/_d_s3231_8cpp_source.html DS3231.cpp]
 +
 +
  
  
 
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Class_List 戻る]
 
----[https://robot-jp.com/wiki/index.php/App:Library:FabGL:Class_List 戻る]

2022年3月23日 (水) 11:09時点における最新版

struct DateTime

日付と時刻を表します。

#include <DS3231.h>

Public Member Functions

time_t timestamp (int timezone)

Calculates Unix timestamp.


Public Attributes

int8_t dayOfMonth
int8_t dayOfWeek
int8_t hours
int8_t minutes
int8_t month
int8_t seconds
int16_t year

Detailed Description

日付と時刻を表します。

Examples:

SSD1306_OLED/128x64/RTClock/RTClock.ino.

Definition at line 58 of file DS3231.h.


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




戻る