PSQL形式のタイムスタンプ型クラス [詳解]
#include <btrDate.h>
公開メンバ関数 | |
btrTimeStamp (unsigned __int64 i) | |
btrTimeStamp (const char *p) | |
btrTimeStamp (btrDate d, btrTime t) | |
void | fromString (const char *p) |
char * | toString (char *retbuf) |
公開変数類 | |
unsigned __int64 | i64 |
PSQL形式のタイムスタンプ型クラス
|
explicit |
コンストラクタ。日時を__int64の値で初期化します。
|
explicit |
コンストラクタ。日時を"yyyy-mm-dd hh:nn::ss"形式の文字列で初期化します。
btrTimeStamp | ( | btrDate | d, |
btrTime | t | ||
) |
コンストラクタ。日時をbtrDate型の日付とbtrTime型の時刻で初期化します。
void fromString | ( | const char * | p | ) |
日時をL"yyyy-mm-dd hh:nn::ss"形式のワイド文字列でセットします。
日時を"yyyy-mm-dd hh:nn::ss"形式の文字列でセットします。
char * toString | ( | char * | p | ) |
日時を"yyyy-mm-dd hh:nn::ss"形式のワイド文字列で返します。
日時を"yyyy-mm-dd hh:nn::ss"形式の文字列で返します。
unsigned __int64 i64 |
日時を__int64型で取得・設定します。