MonthlySummary

class MonthlySummary(var month: Int = 0, var year: Int = 0, var acceptedVisitGoalDays: Int = 0, var acceptedVisitDays: Int = 0, var acceptedActivities: Int = 0, var pendingActivities: Int = 0, var rejectedActivities: Int = 0)

A summary of all the recorded activities within the month/year period, it does not contain the metadata of each activity

Constructors

Link copied to clipboard
constructor(month: Int = 0, year: Int = 0, acceptedVisitGoalDays: Int = 0, acceptedVisitDays: Int = 0, acceptedActivities: Int = 0, pendingActivities: Int = 0, rejectedActivities: Int = 0)

Properties

Link copied to clipboard

Number of accepted activities

Link copied to clipboard

Number of days with at least one accepted visit

Link copied to clipboard

The goal needed to achieve the incentive

Link copied to clipboard
var month: Int

The corresponding digit of the month, e.g. '1'

Link copied to clipboard

Number of pending activities

Link copied to clipboard

Number of rejected activities

Link copied to clipboard
var year: Int

The corresponding year of the summary, e.g. '2022'

Functions

Link copied to clipboard
open override fun toString(): String