Documentation ¶
Index ¶
- func BTreeDescendFirstLessOrEqual[I btree.Item](tree *btree.BTree, item I) I
- func BTreeToSlice[I btree.Item](tree *btree.BTree) []I
- func BeginingOfDay(date time.Time) time.Time
- func BeginningOfFinancialYear(date time.Time) time.Time
- func BeginningOfMonth(date time.Time) time.Time
- func EndOfFinancialYear(date time.Time) time.Time
- func EndOfMonth(date time.Time) time.Time
- func FY(date time.Time) string
- func FYHuman(date time.Time) string
- func GroupByFY[G GroupableByDate](groupables []G) map[string][]G
- func GroupByMonth[G GroupableByDate](groupables []G) map[string][]G
- func IsCurrency(currency string) bool
- func IsSameOrParent(account string, comparison string) bool
- func IsWithDate(date time.Time, start time.Time, end time.Time) bool
- func MaxTime(a time.Time, b time.Time) time.Time
- type GroupableByDate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginningOfFinancialYear ¶ added in v0.1.3
func GroupByFY ¶ added in v0.4.5
func GroupByFY[G GroupableByDate](groupables []G) map[string][]G
func GroupByMonth ¶ added in v0.4.5
func GroupByMonth[G GroupableByDate](groupables []G) map[string][]G
func IsCurrency ¶ added in v0.3.7
func IsSameOrParent ¶ added in v0.2.4
func IsWithDate ¶ added in v0.1.5
Types ¶
type GroupableByDate ¶ added in v0.4.5
Click to show internal directories.
Click to hide internal directories.