Shinobi Library - 構造体/その他のデータ型

SYS_RTC_DATE

日付情報構造体

定義

typedef struct { 
     Uint16 year; 
     Uint8  month; 
     Uint8  day; 
     Uint8  hour; 
     Uint8  minute; 
     Uint8  second; 
     Uint8  dayofweek; 
     Uint8  ageofmoon; 
} SYS_RTC_DATE; 

メンバ

year   西暦(1950〜2085)
month   月(1〜12)
day   日(1〜31)
hour   時(0〜23)
minute   分(0〜59)
second   秒(0〜59)
dayofweek   曜日(0(日曜)〜6(土曜))
ageofmoon   月齢(0(新月)〜15(満月)〜29)

解説

日付情報を管理する構造体です。

参照

syRtcCompareDate()
 日付時刻の比較
syRtcCountToDate()
 カウント数から日付時刻への変換
syRtcDateToCount()
 日付時刻からカウント数への変換
syRtcGetDate()
 日付時刻の取得
syRtcSetDate()
 日付時刻の設定

SYS_RTC_DATE
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998-2000