46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
///////////////////////////////////////////////////////////
|
|
// AyaTimeSpan.cs
|
|
// Implementation of Class AyaTimeSpan
|
|
// CSLA type: enumeration
|
|
// Created on: 06-Oct-2005
|
|
// Object design: John
|
|
// Coded: John 06-Oct-2005
|
|
///////////////////////////////////////////////////////////
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
|
namespace GZTW.AyaNova.BLL
|
|
{
|
|
/// <summary>
|
|
/// Used throughout AyaNova wherever a unit of time needs to be selected or acted upon
|
|
/// </summary>
|
|
[TypeConverter(typeof(EnumDescConverter))]
|
|
public enum AyaUnitsOfTime : int
|
|
{
|
|
#pragma warning disable 1591
|
|
[Description("LT:UI.Label.TimeSpan.Seconds")]
|
|
Seconds = 1,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Minutes")]
|
|
Minutes = 2,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Hours")]
|
|
Hours = 3,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Days")]
|
|
Days = 4,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Weeks")]
|
|
Weeks = 5,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Months")]
|
|
Months = 6,
|
|
|
|
[Description("LT:UI.Label.TimeSpan.Years")]
|
|
Years = 7
|
|
|
|
#pragma warning restore 1591
|
|
}//end AyaTimeSpan
|
|
|
|
}//end namespace GZTW.AyaNova.BLL |