From d84e4f6bc57ce9799f068f7aac4678e99d535c72 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sat, 12 Feb 2011 23:55:17 +0000 Subject: [PATCH] Move ActivityDay class from [log] to [controller] --- SparkleShare/SparkleController.cs | 17 +++++++++++++++++ SparkleShare/SparkleLog.cs | 16 ---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/SparkleShare/SparkleController.cs b/SparkleShare/SparkleController.cs index d27f9c23..8cc2ffd4 100644 --- a/SparkleShare/SparkleController.cs +++ b/SparkleShare/SparkleController.cs @@ -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 + { + + public DateTime DateTime; + + public ActivityDay (DateTime date_time) + { + + DateTime = date_time; + DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day); + + } + + } } \ No newline at end of file diff --git a/SparkleShare/SparkleLog.cs b/SparkleShare/SparkleLog.cs index 54a88039..8d2823cd 100644 --- a/SparkleShare/SparkleLog.cs +++ b/SparkleShare/SparkleLog.cs @@ -470,20 +470,4 @@ namespace SparkleShare { } - // All commits that happened on a day - public class ActivityDay : List - { - - public DateTime DateTime; - - public ActivityDay (DateTime date_time) - { - - DateTime = date_time; - DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day); - - } - - } - }