calendar

package
v1.0.116 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindPreviousWorkDay

func FindPreviousWorkDay(DateNow time.Time) time.Time

FindPreviousWorkDay - возвращает дату начала предыдущего рабочего(!) дня доделать БД Postgres Календарь

func IsWorkDay

func IsWorkDay(Date time.Time) bool

Types

type HoursMinutesSeconds added in v1.0.116

type HoursMinutesSeconds struct {
	Hours   int
	Minutes int
	Seconds int
}

HoursMinutesSeconds - структура для хранения часов, минут и секунд

func (*HoursMinutesSeconds) UnmarshalByte added in v1.0.116

func (d *HoursMinutesSeconds) UnmarshalByte(b []byte) error

UnmarshalByte - преобразует байты время в HoursMinutesSeconds{}

func (*HoursMinutesSeconds) UnmarshalString added in v1.0.116

func (d *HoursMinutesSeconds) UnmarshalString(str string) error

UnmarshalString - преобразует строку время в HoursMinutesSeconds{}

Jump to

Keyboard shortcuts

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