全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 ページ
公開メンバ関数 | 公開変数類 | 全メンバ一覧
btrTimeStamp クラス

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形式のタイムスタンプ型クラス

構築子と解体子

btrTimeStamp ( unsigned __int64  i)
explicit

コンストラクタ。日時を__int64の値で初期化します。

btrTimeStamp ( const char *  p)
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型で取得・設定します。

Transactd SDK 2018年07月31日(火) 19時40分28秒 doxygen