I am dealing with big data of years.
The data model is quite simple:
public class ValueData
{
public DateTime TimeRecorded {get; set;}
public double ValueRecorded {get; set;}
}
After having a list of ValueData: List<ValueData>
for years of data, I need to group the data based on: Year ==> contains data of 4 seasons: Season ==> A season contains 4 months ==> A month contains data of 4 weeks ==> A week contains data of 7 days based on the week calendar numbers of a year. Because I need to make a sum of data per year, per season, per month, per week and per day
How can I achieve this data classification? should I use LinQ?