lunarcalendar

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DayFestival

type DayFestival struct {
	Year      int32
	Month     int32
	Day       int32
	Festivals []string
}

type LunarCalendar

type LunarCalendar interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewLunarCalendar

func NewLunarCalendar(conn *dbus.Conn) LunarCalendar

type MockInterfaceLunarCalendar

type MockInterfaceLunarCalendar struct {
	mock.Mock
}

func (*MockInterfaceLunarCalendar) GetFestivalMonth

func (v *MockInterfaceLunarCalendar) GetFestivalMonth(flags dbus.Flags, year int32, month int32) (string, error)

func (*MockInterfaceLunarCalendar) GetFestivalsInRange

func (v *MockInterfaceLunarCalendar) GetFestivalsInRange(flags dbus.Flags, startDate string, endDate string) ([]DayFestival, error)

func (*MockInterfaceLunarCalendar) GetHuangLiDay

func (v *MockInterfaceLunarCalendar) GetHuangLiDay(flags dbus.Flags, year int32, month int32, day int32) (string, error)

func (*MockInterfaceLunarCalendar) GetHuangLiMonth

func (v *MockInterfaceLunarCalendar) GetHuangLiMonth(flags dbus.Flags, year int32, month int32, fill bool) (string, error)

func (*MockInterfaceLunarCalendar) GoGetFestivalMonth

func (v *MockInterfaceLunarCalendar) GoGetFestivalMonth(flags dbus.Flags, ch chan *dbus.Call, year int32, month int32) *dbus.Call

func (*MockInterfaceLunarCalendar) GoGetFestivalsInRange

func (v *MockInterfaceLunarCalendar) GoGetFestivalsInRange(flags dbus.Flags, ch chan *dbus.Call, startDate string, endDate string) *dbus.Call

func (*MockInterfaceLunarCalendar) GoGetHuangLiDay

func (v *MockInterfaceLunarCalendar) GoGetHuangLiDay(flags dbus.Flags, ch chan *dbus.Call, year int32, month int32, day int32) *dbus.Call

func (*MockInterfaceLunarCalendar) GoGetHuangLiMonth

func (v *MockInterfaceLunarCalendar) GoGetHuangLiMonth(flags dbus.Flags, ch chan *dbus.Call, year int32, month int32, fill bool) *dbus.Call

type MockLunarCalendar

type MockLunarCalendar struct {
	MockInterfaceLunarCalendar // interface com.deepin.api.LunarCalendar
	proxy.MockObject
}

Jump to

Keyboard shortcuts

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