Move ActivityDay class from [log] to [controller]

This commit is contained in:
Hylke Bons 2011-02-12 23:55:17 +00:00
parent e0646404da
commit 7eec27277a
2 changed files with 17 additions and 16 deletions

View file

@ -1142,5 +1142,22 @@ Console.WriteLine(GetAvatar (change_set.UserEmail, 32));
public class ChangeSet : SparkleCommit {
}
// All commits that happened on a day
public class ActivityDay : List <SparkleCommit>
{
public DateTime DateTime;
public ActivityDay (DateTime date_time)
{
DateTime = date_time;
DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day);
}
}
}

View file

@ -470,20 +470,4 @@ namespace SparkleShare {
}
// All commits that happened on a day
public class ActivityDay : List <SparkleCommit>
{
public DateTime DateTime;
public ActivityDay (DateTime date_time)
{
DateTime = date_time;
DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day);
}
}
}