utils

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BTreeDescendFirstLessOrEqual

func BTreeDescendFirstLessOrEqual[I btree.Item](tree *btree.BTree, item I) I

func BTreeToSlice added in v0.3.5

func BTreeToSlice[I btree.Item](tree *btree.BTree) []I

func BeginningOfFinancialYear added in v0.1.3

func BeginningOfFinancialYear(date time.Time) time.Time

func BeginningOfMonth added in v0.1.3

func BeginningOfMonth(date time.Time) time.Time

func EndOfFinancialYear added in v0.1.3

func EndOfFinancialYear(date time.Time) time.Time

func EndOfMonth added in v0.1.3

func EndOfMonth(date time.Time) time.Time

func FY added in v0.2.2

func FY(date time.Time) string

func FYHuman added in v0.3.1

func FYHuman(date time.Time) string

func IsSameOrParent added in v0.2.4

func IsSameOrParent(account string, comparison string) bool

func IsWithDate added in v0.1.5

func IsWithDate(date time.Time, start time.Time, end time.Time) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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