weekRange

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WeekRange

type WeekRange struct {
	Start time.Time
	End   time.Time
}

func NewMonthRange

func NewMonthRange(date time.Time) WeekRange

func NewWeekRange

func NewWeekRange(date time.Time) WeekRange

func (*WeekRange) CalculateMonthRange

func (w *WeekRange) CalculateMonthRange(date time.Time)

func (*WeekRange) CalculateWeekRange

func (w *WeekRange) CalculateWeekRange(date time.Time)

func (WeekRange) GetFormatedRange

func (w WeekRange) GetFormatedRange() string

func (WeekRange) GetFormatedRangeForMonth

func (w WeekRange) GetFormatedRangeForMonth() string

func (WeekRange) IsDateInRange

func (w WeekRange) IsDateInRange(date time.Time) bool

Jump to

Keyboard shortcuts

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