Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrowingState ¶
type GrowingState string
const ( Sown GrowingState = "SOWN" Seedling GrowingState = "SEEDLING" Transplanted GrowingState = "TRANSPLANTED" Mature GrowingState = "MATURE" Removed GrowingState = "REMOVED" Perannual GrowingState = "PERANNUAL" )
type Specimen ¶
type Specimen struct { Id uint32 Plant Plant SownDate time.Time TransplantDate time.Time State GrowingState }
func (Specimen) EstimatedGerminationDate ¶
Returns the lower and upper bounds of the estimated germination
If the sown data is zero, the function will return zero date time for upper and lower
func (Specimen) EstimatedMaturityDate ¶
Returns the estimated maturity date for the specimen
If sown date for the specimen is zero, returns zero for both lower and upper
func (Specimen) WithinSproutingWindow ¶
Click to show internal directories.
Click to hide internal directories.