package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Apr 8, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
サンプルリスト
このディレクトリには以下のサンプルがあります。
file |
example name |
note |
time_since.go |
time_since |
time.Since() のサンプルです. |
time_after.go |
time_after |
time.After() のサンプルです. |
time_unix_to_time.go |
time_unix_to_time |
time.Unix(sec, nsec) のサンプルです. |
time_now.go |
time_now |
time.Now() のサンプルです. |
time_parse.go |
time_parse |
time.Parse() のサンプルです. |
time_tick_and_ticker.go |
time_tick_and_ticker |
time.Tick と time.NewTicker の利用シーンの違いについてのサンプルです |
time_timer.go |
time_timer |
time.NewTimer のサンプルです |
time_afterfunc.go |
time_afterfunc |
time.AfterFunc のサンプルです |
change_local_timezone.go |
time_changelocaltimezone |
time.Localを変更して強制的にローカルタイムゾーンを一時的に変更するサンプルです |
Documentation
¶
Package times -- パッケージに関するサンプルが配置されています。
AfterFunc は、time.AfterFunc のサンプルです。
func ChangeLocalTimezone() error
ChangeLocalTimezone -- time.Localを変更して強制的にローカルタイムゾーンを一時的に変更するサンプルです.
REFERENCES
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。
func TickAndTicker() error
TickAndTicker -- time.Tick と time.NewTicker の利用シーンの違いについてのサンプルです。
TimeAfter は、 time.After() のサンプルです.
TimeNow は、 time.Now() のサンプルです.
TimeParse は、 time.Parse() のサンプルです.
TimeSince は、 time.Since() のサンプルです.
TimeSub は、 time.Sub() のサンプルです.
func TimeUnixToTime() error
TimeUnixToTime は、 time.Unix(sec, nsec) のサンプルです.
Timer は、time.NewTimer のサンプルです。
Source Files
¶
Click to show internal directories.
Click to hide internal directories.