package net.pokeranalytics.android.ui.view

import net.pokeranalytics.android.R


enum class CalendarTabs : Displayable {
	NET_RESULTS,
	NET_HOURLY_RATE,
	NUMBER_OF_GAMES,
	WIN_RATIO,
	STANDARD_DEVIATION_PER_HOUR,
	AVERAGE_NET_RESULT,
	AVERAGE_DURATION,
	DURATION_OF_PLAY;

	override val resId: Int
		get() {
			return when (this) {
				NET_RESULTS -> R.string.net_result
				NET_HOURLY_RATE -> R.string.hour_rate_without_pauses
				NUMBER_OF_GAMES -> R.string.number_of_records
				WIN_RATIO -> R.string.win_ratio
				STANDARD_DEVIATION_PER_HOUR -> R.string.standard_deviation_per_hour
				AVERAGE_NET_RESULT -> R.string.average_net_result
				AVERAGE_DURATION -> R.string.average_hours_played
				DURATION_OF_PLAY -> R.string.total_hours_played
			}
		}
}