Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Period ¶
Period represents a monthly payment period.
func PeriodFromString ¶
PeriodFromString parses the YYYY-MM string into a Period.
func PeriodFromTime ¶
PeriodFromTime takes a time.Time and returns a Period that contains it.
func (Period) EndDateExclusive ¶
EndDateExclusive returns a time.Time that is greater than any time in the period.
func (Period) MarshalCSV ¶
MarshalCSV returns the CSV form of the Period.
func (Period) StartDate ¶
StartDate returns a time.Time that is less than or equal to any time in the period.
func (*Period) UnmarshalCSV ¶
UnmarshalCSV reads the Period in CSV form.
Click to show internal directories.
Click to hide internal directories.