timeutils

package
v0.1.178 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 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) StartOfCurrentMonthUTC

func (m *MockITimeUtils) StartOfCurrentMonthUTC() time.Time

StartOfCurrentMonthUTC mocks base method.

func (*MockITimeUtils) StartOfNextMonthUTC

func (m *MockITimeUtils) StartOfNextMonthUTC() time.Time

StartOfNextMonthUTC mocks base method.

func (*MockITimeUtils) StartOfPreviousMonthUTC

func (m *MockITimeUtils) StartOfPreviousMonthUTC() time.Time

StartOfPreviousMonthUTC mocks base method.

type MockITimeUtilsMockRecorder

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

MockITimeUtilsMockRecorder is the mock recorder for MockITimeUtils.

func (*MockITimeUtilsMockRecorder) StartOfCurrentMonthUTC

func (mr *MockITimeUtilsMockRecorder) StartOfCurrentMonthUTC() *gomock.Call

StartOfCurrentMonthUTC indicates an expected call of StartOfCurrentMonthUTC.

func (*MockITimeUtilsMockRecorder) StartOfNextMonthUTC

func (mr *MockITimeUtilsMockRecorder) StartOfNextMonthUTC() *gomock.Call

StartOfNextMonthUTC indicates an expected call of StartOfNextMonthUTC.

func (*MockITimeUtilsMockRecorder) StartOfPreviousMonthUTC

func (mr *MockITimeUtilsMockRecorder) StartOfPreviousMonthUTC() *gomock.Call

StartOfPreviousMonthUTC indicates an expected call of StartOfPreviousMonthUTC.

Jump to

Keyboard shortcuts

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