timeutils

package
v0.1.322 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func AddSingletonITime

func AddSingletonITime(builder *di.Builder)

AddSingletonITime ...

func AddSingletonITimeUtils

func AddSingletonITimeUtils(builder *di.Builder)

AddSingletonITimeUtils ...

func AddTimeNow added in v0.1.186

func AddTimeNow(builder *di.Builder)

AddTimeNow adds a singleton of Now to the container

func AddTimeParse added in v0.1.192

func AddTimeParse(builder *di.Builder)

AddTimeParse adds a singleton of Parse to the container

func NewMockITimeDate

func NewMockITimeDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int, min int, sec int, nsec int, loc *time.Location) contracts_timeutils.ITime

NewMockITimeDate ...

func NewMockITimeYearMonthDate

func NewMockITimeYearMonthDate(ctrl *gomock.Controller, year int, month time.Month) contracts_timeutils.ITime

NewMockITimeYearMonthDate ...

func NewMockITimeYearMonthDayDate

func NewMockITimeYearMonthDayDate(ctrl *gomock.Controller, year int, month time.Month, day int) contracts_timeutils.ITime

NewMockITimeYearMonthDayDate ...

func NewMockITimeYearMonthDayHourDate

func NewMockITimeYearMonthDayHourDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int) contracts_timeutils.ITime

NewMockITimeYearMonthDayHourDate ...

func NewMockITimeYearMonthDayHourMinDate

func NewMockITimeYearMonthDayHourMinDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int, min int) contracts_timeutils.ITime

NewMockITimeYearMonthDayHourMinDate ...

func NewMockTimeNowDate added in v0.1.186

func NewMockTimeNowDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int, min int, sec int, nsec int, loc *time.Location) contracts_timeutils.TimeNow

NewMockTimeNowDate ...

func NewMockTimeNowYearMonthDate added in v0.1.186

func NewMockTimeNowYearMonthDate(ctrl *gomock.Controller, year int, month time.Month) contracts_timeutils.TimeNow

NewMockTimeNowYearMonthDate ...

func NewMockTimeNowYearMonthDayDate added in v0.1.186

func NewMockTimeNowYearMonthDayDate(ctrl *gomock.Controller, year int, month time.Month, day int) contracts_timeutils.TimeNow

NewMockTimeNowYearMonthDayDate ...

func NewMockTimeNowYearMonthDayHourDate added in v0.1.186

func NewMockTimeNowYearMonthDayHourDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int) contracts_timeutils.TimeNow

NewMockTimeNowYearMonthDayHourDate ...

func NewMockTimeNowYearMonthDayHourMinDate added in v0.1.186

func NewMockTimeNowYearMonthDayHourMinDate(ctrl *gomock.Controller, year int, month time.Month, day int, hour int, min int) contracts_timeutils.TimeNow

NewMockTimeNowYearMonthDayHourMinDate ...

func NewTimeUtils

func NewTimeUtils(timeService contracts_timeutils.ITime) contracts_timeutils.ITimeUtils

NewTimeUtils ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL