Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MonthWorker ¶
type MonthWorker struct {
Month Month
}
Struct to handle the original month struct with new methods
func ConditionalDate ¶
func ConditionalDate(w http.ResponseWriter, r *http.Request) (MonthWorker, string, string)
func (*MonthWorker) FirstOfLastOfMonth ¶
func (m *MonthWorker) FirstOfLastOfMonth() time.Time
Get the first day of a previous or next month
func (*MonthWorker) FirstOfMonth ¶
func (m *MonthWorker) FirstOfMonth() time.Time
Get the first day of the actual month
func (*MonthWorker) LastOfLastOfMonth ¶
func (m *MonthWorker) LastOfLastOfMonth() time.Time
Get the last day of a previous or next month
func (*MonthWorker) LastOfMonth ¶
func (m *MonthWorker) LastOfMonth() time.Time
Get the last day of the actual month
func (*MonthWorker) RemainingDays ¶
func (m *MonthWorker) RemainingDays() int
Click to show internal directories.
Click to hide internal directories.