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: 3 Imported by: 0

Documentation

Overview

Package timeutils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockITime

type MockITime struct {
	// contains filtered or unexported fields
}

MockITime is a mock of ITime interface.

func NewMockITime

func NewMockITime(ctrl *gomock.Controller) *MockITime

NewMockITime creates a new mock instance.

func (*MockITime) EXPECT

func (m *MockITime) EXPECT() *MockITimeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockITime) Now

func (m *MockITime) Now() time.Time

Now mocks base method.

type MockITimeMockRecorder

type MockITimeMockRecorder struct {
	// contains filtered or unexported fields
}

MockITimeMockRecorder is the mock recorder for MockITime.

func (*MockITimeMockRecorder) Now

func (mr *MockITimeMockRecorder) Now() *gomock.Call

Now indicates an expected call of Now.

type MockITimeUtils

type MockITimeUtils struct {
	// contains filtered or unexported fields
}

MockITimeUtils is a mock of ITimeUtils interface.

func NewMockITimeUtils

func NewMockITimeUtils(ctrl *gomock.Controller) *MockITimeUtils

NewMockITimeUtils creates a new mock instance.

func (*MockITimeUtils) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockITimeUtils) StartOfMonthUTC added in v0.1.179

func (m *MockITimeUtils) StartOfMonthUTC(arg0 int) time.Time

StartOfMonthUTC mocks base method.

type MockITimeUtilsMockRecorder

type MockITimeUtilsMockRecorder struct {
	// contains filtered or unexported fields
}

MockITimeUtilsMockRecorder is the mock recorder for MockITimeUtils.

func (*MockITimeUtilsMockRecorder) StartOfMonthUTC added in v0.1.179

func (mr *MockITimeUtilsMockRecorder) StartOfMonthUTC(arg0 interface{}) *gomock.Call

StartOfMonthUTC indicates an expected call of StartOfMonthUTC.

Jump to

Keyboard shortcuts

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