Timestamp.assign (日時設定)
文法
詳細
引数
戻り値
1. 文法
メンバ型
関数
メンバ所有者
global
.
Timestamp
インスタンス
呼び出し
instance.assign(
y
,
m
,
d
,
hh
,
mi
,
realsec
)
2. 詳細
指定した日時に設定します。
3. 引数
y
(
Integer
)
m
(
Integer
) [default: 0]
d
(
Integer
) [default: 0]
hh
(
Integer
) [default: 0]
mi
(
Integer
) [default: 0]
realsec
(
Real
) [default: 0.0]
それぞれ、設定する年・月・日・時・分・秒を指定します。
4. 戻り値
設定後の自分自身を返します。