diff --git a/PomoTime/Period.cs b/PomoTime/Period.cs
new file mode 100644
index 0000000..97e28b3
--- /dev/null
+++ b/PomoTime/Period.cs
@@ -0,0 +1,37 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace PomoTime
+{
+ public static class PeriodExtensions
+ {
+ public static string Name(this Period period)
+ {
+ string output;
+ switch (period)
+ {
+ case Period.LongBreak:
+ output = "Long break";
+ break;
+ case Period.ShortBreak:
+ output = "Short break";
+ break;
+ case Period.Work:
+ output = "Work";
+ break;
+ default:
+ throw new ArgumentOutOfRangeException();
+ }
+
+ return output;
+ }
+ }
+
+ public enum Period
+ {
+ Work, ShortBreak, LongBreak
+ }
+}
diff --git a/PomoTime/PomoTime.csproj b/PomoTime/PomoTime.csproj
index b3bdd5f..d5ca971 100644
--- a/PomoTime/PomoTime.csproj
+++ b/PomoTime/PomoTime.csproj
@@ -132,6 +132,7 @@
MainPage.xaml
+
diff --git a/PomoTime/RunningState.cs b/PomoTime/RunningState.cs
index c8be924..08d19a6 100644
--- a/PomoTime/RunningState.cs
+++ b/PomoTime/RunningState.cs
@@ -4,33 +4,6 @@ using System.Runtime.CompilerServices;
namespace PomoTime
{
- public static class PeriodExtensions
- {
- public static string Name(this Period period)
- {
- string output;
- switch (period)
- {
- case Period.LongBreak:
- output = "Long break";
- break;
- case Period.ShortBreak:
- output = "Short break";
- break;
- case Period.Work:
- output = "Work";
- break;
- default:
- throw new ArgumentOutOfRangeException();
- }
-
- return output;
- }
- }
- public enum Period
- {
- Work, ShortBreak, LongBreak
- }
public class RunningState : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;