From fe7822719f3d5557d9c9a06b9584f8500e67dea0 Mon Sep 17 00:00:00 2001
From: Taiizor <41683699+Taiizor@users.noreply.github.com>
Date: Sun, 20 Aug 2023 02:57:59 +0300
Subject: [PATCH] Infrastructure Preparation 236
---
.../ConsoleDemoColor/ConsoleDemoColor.csproj | 4 +-
.../ConsoleDemoCryptology.csproj | 4 +-
.../ConsoleDemoCss/ConsoleDemoCss.csproj | 4 +-
.../ConsoleDemoHash/ConsoleDemoHash.csproj | 4 +-
.../ConsoleDemoHelper.csproj | 4 +-
.../ConsoleDemoHtml/ConsoleDemoHtml.csproj | 4 +-
.../ConsoleDemoJs/ConsoleDemoJs.csproj | 4 +-
.../ConsoleDemoJson/ConsoleDemoJson.csproj | 4 +-
.../ConsoleDemoLottery.csproj | 4 +-
.../ConsoleDemoPassword.csproj | 4 +-
.../ConsoleDemoPing/ConsoleDemoPing.csproj | 4 +-
.../ConsoleDemoPort/ConsoleDemoPort.csproj | 4 +-
.../ConsoleDemoSpeed/ConsoleDemoSpeed.csproj | 4 +-
.../ConsoleDemoStorage.csproj | 4 +-
.../ConsoleDemoTax/ConsoleDemoTax.csproj | 4 +-
.../ConsoleDemoTemperature.csproj | 4 +-
.../ConsoleDemoText/ConsoleDemoText.csproj | 4 +-
.../ConsoleDemoTime/ConsoleDemoTime.csproj | 4 +-
.../ConsoleDemoTypography.csproj | 4 +-
.../ConsoleDemoUnicode.csproj | 4 +-
.../ConsoleDemoUrl/ConsoleDemoUrl.csproj | 4 +-
.../ConsoleDemoWeb/ConsoleDemoWeb.csproj | 4 +-
.../ConsoleDemoWord/ConsoleDemoWord.csproj | 4 +-
.../ConsoleDemoXhtml/ConsoleDemoXhtml.csproj | 4 +-
.../ConsoleDemoXml/ConsoleDemoXml.csproj | 4 +-
.../Skylark.UI/Skylark.UI/Skylark.UI.csproj | 6 +-
.../WinFormsDemoWallpaper.csproj | 4 +-
.../Skylark.Clipboard.csproj | 4 +-
src/Skylark.DNS/Skylark.DNS.csproj | 4 +-
.../Extension/Time/TimeExtension.cs | 2 +
src/Skylark.Standard/Skylark.Standard.csproj | 4 +-
src/Skylark.Uptime/Skylark.Uptime.cs | 4 +-
src/Skylark.Uptime/Skylark.Uptime.csproj | 4 +-
src/Skylark.Wing/Skylark.Wing.cs | 4 +-
src/Skylark.Wing/Skylark.Wing.csproj | 4 +-
src/Skylark/Enum/TimeType.cs | 75 +++++++++++++++++++
src/Skylark/Helper/Converter.cs | 20 +++++
src/Skylark/Skylark.cs | 4 +-
src/Skylark/Skylark.csproj | 2 +-
src/Skylark/Struct/Time/TimeStruct.cs | 5 ++
.../install-from-nuget.csproj | 6 +-
41 files changed, 177 insertions(+), 75 deletions(-)
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoColor/ConsoleDemoColor/ConsoleDemoColor.csproj b/demo/Skylark.Console.Demo/ConsoleDemoColor/ConsoleDemoColor/ConsoleDemoColor.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoColor/ConsoleDemoColor/ConsoleDemoColor.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoColor/ConsoleDemoColor/ConsoleDemoColor.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoCryptology/ConsoleDemoCryptology/ConsoleDemoCryptology.csproj b/demo/Skylark.Console.Demo/ConsoleDemoCryptology/ConsoleDemoCryptology/ConsoleDemoCryptology.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoCryptology/ConsoleDemoCryptology/ConsoleDemoCryptology.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoCryptology/ConsoleDemoCryptology/ConsoleDemoCryptology.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoCss/ConsoleDemoCss/ConsoleDemoCss.csproj b/demo/Skylark.Console.Demo/ConsoleDemoCss/ConsoleDemoCss/ConsoleDemoCss.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoCss/ConsoleDemoCss/ConsoleDemoCss.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoCss/ConsoleDemoCss/ConsoleDemoCss.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoHash/ConsoleDemoHash/ConsoleDemoHash.csproj b/demo/Skylark.Console.Demo/ConsoleDemoHash/ConsoleDemoHash/ConsoleDemoHash.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoHash/ConsoleDemoHash/ConsoleDemoHash.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoHash/ConsoleDemoHash/ConsoleDemoHash.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoHelper/ConsoleDemoHelper/ConsoleDemoHelper.csproj b/demo/Skylark.Console.Demo/ConsoleDemoHelper/ConsoleDemoHelper/ConsoleDemoHelper.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoHelper/ConsoleDemoHelper/ConsoleDemoHelper.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoHelper/ConsoleDemoHelper/ConsoleDemoHelper.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoHtml/ConsoleDemoHtml/ConsoleDemoHtml.csproj b/demo/Skylark.Console.Demo/ConsoleDemoHtml/ConsoleDemoHtml/ConsoleDemoHtml.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoHtml/ConsoleDemoHtml/ConsoleDemoHtml.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoHtml/ConsoleDemoHtml/ConsoleDemoHtml.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoJs/ConsoleDemoJs/ConsoleDemoJs.csproj b/demo/Skylark.Console.Demo/ConsoleDemoJs/ConsoleDemoJs/ConsoleDemoJs.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoJs/ConsoleDemoJs/ConsoleDemoJs.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoJs/ConsoleDemoJs/ConsoleDemoJs.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoJson/ConsoleDemoJson/ConsoleDemoJson.csproj b/demo/Skylark.Console.Demo/ConsoleDemoJson/ConsoleDemoJson/ConsoleDemoJson.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoJson/ConsoleDemoJson/ConsoleDemoJson.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoJson/ConsoleDemoJson/ConsoleDemoJson.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoLottery/ConsoleDemoLottery/ConsoleDemoLottery.csproj b/demo/Skylark.Console.Demo/ConsoleDemoLottery/ConsoleDemoLottery/ConsoleDemoLottery.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoLottery/ConsoleDemoLottery/ConsoleDemoLottery.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoLottery/ConsoleDemoLottery/ConsoleDemoLottery.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoPassword/ConsoleDemoPassword/ConsoleDemoPassword.csproj b/demo/Skylark.Console.Demo/ConsoleDemoPassword/ConsoleDemoPassword/ConsoleDemoPassword.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoPassword/ConsoleDemoPassword/ConsoleDemoPassword.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoPassword/ConsoleDemoPassword/ConsoleDemoPassword.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoPing/ConsoleDemoPing/ConsoleDemoPing.csproj b/demo/Skylark.Console.Demo/ConsoleDemoPing/ConsoleDemoPing/ConsoleDemoPing.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoPing/ConsoleDemoPing/ConsoleDemoPing.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoPing/ConsoleDemoPing/ConsoleDemoPing.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoPort/ConsoleDemoPort/ConsoleDemoPort.csproj b/demo/Skylark.Console.Demo/ConsoleDemoPort/ConsoleDemoPort/ConsoleDemoPort.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoPort/ConsoleDemoPort/ConsoleDemoPort.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoPort/ConsoleDemoPort/ConsoleDemoPort.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoSpeed/ConsoleDemoSpeed/ConsoleDemoSpeed.csproj b/demo/Skylark.Console.Demo/ConsoleDemoSpeed/ConsoleDemoSpeed/ConsoleDemoSpeed.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoSpeed/ConsoleDemoSpeed/ConsoleDemoSpeed.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoSpeed/ConsoleDemoSpeed/ConsoleDemoSpeed.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoStorage/ConsoleDemoStorage/ConsoleDemoStorage.csproj b/demo/Skylark.Console.Demo/ConsoleDemoStorage/ConsoleDemoStorage/ConsoleDemoStorage.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoStorage/ConsoleDemoStorage/ConsoleDemoStorage.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoStorage/ConsoleDemoStorage/ConsoleDemoStorage.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoTax/ConsoleDemoTax/ConsoleDemoTax.csproj b/demo/Skylark.Console.Demo/ConsoleDemoTax/ConsoleDemoTax/ConsoleDemoTax.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoTax/ConsoleDemoTax/ConsoleDemoTax.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoTax/ConsoleDemoTax/ConsoleDemoTax.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoTemperature/ConsoleDemoTemperature/ConsoleDemoTemperature.csproj b/demo/Skylark.Console.Demo/ConsoleDemoTemperature/ConsoleDemoTemperature/ConsoleDemoTemperature.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoTemperature/ConsoleDemoTemperature/ConsoleDemoTemperature.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoTemperature/ConsoleDemoTemperature/ConsoleDemoTemperature.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoText/ConsoleDemoText/ConsoleDemoText.csproj b/demo/Skylark.Console.Demo/ConsoleDemoText/ConsoleDemoText/ConsoleDemoText.csproj
index 0ed57e1d..425e209b 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoText/ConsoleDemoText/ConsoleDemoText.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoText/ConsoleDemoText/ConsoleDemoText.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoTime/ConsoleDemoTime/ConsoleDemoTime.csproj b/demo/Skylark.Console.Demo/ConsoleDemoTime/ConsoleDemoTime/ConsoleDemoTime.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoTime/ConsoleDemoTime/ConsoleDemoTime.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoTime/ConsoleDemoTime/ConsoleDemoTime.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoTypography/ConsoleDemoTypography/ConsoleDemoTypography.csproj b/demo/Skylark.Console.Demo/ConsoleDemoTypography/ConsoleDemoTypography/ConsoleDemoTypography.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoTypography/ConsoleDemoTypography/ConsoleDemoTypography.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoTypography/ConsoleDemoTypography/ConsoleDemoTypography.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoUnicode/ConsoleDemoUnicode/ConsoleDemoUnicode.csproj b/demo/Skylark.Console.Demo/ConsoleDemoUnicode/ConsoleDemoUnicode/ConsoleDemoUnicode.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoUnicode/ConsoleDemoUnicode/ConsoleDemoUnicode.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoUnicode/ConsoleDemoUnicode/ConsoleDemoUnicode.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoUrl/ConsoleDemoUrl/ConsoleDemoUrl.csproj b/demo/Skylark.Console.Demo/ConsoleDemoUrl/ConsoleDemoUrl/ConsoleDemoUrl.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoUrl/ConsoleDemoUrl/ConsoleDemoUrl.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoUrl/ConsoleDemoUrl/ConsoleDemoUrl.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoWeb/ConsoleDemoWeb/ConsoleDemoWeb.csproj b/demo/Skylark.Console.Demo/ConsoleDemoWeb/ConsoleDemoWeb/ConsoleDemoWeb.csproj
index 0de97a6f..bcc0a109 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoWeb/ConsoleDemoWeb/ConsoleDemoWeb.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoWeb/ConsoleDemoWeb/ConsoleDemoWeb.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoWord/ConsoleDemoWord/ConsoleDemoWord.csproj b/demo/Skylark.Console.Demo/ConsoleDemoWord/ConsoleDemoWord/ConsoleDemoWord.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoWord/ConsoleDemoWord/ConsoleDemoWord.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoWord/ConsoleDemoWord/ConsoleDemoWord.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoXhtml/ConsoleDemoXhtml/ConsoleDemoXhtml.csproj b/demo/Skylark.Console.Demo/ConsoleDemoXhtml/ConsoleDemoXhtml/ConsoleDemoXhtml.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoXhtml/ConsoleDemoXhtml/ConsoleDemoXhtml.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoXhtml/ConsoleDemoXhtml/ConsoleDemoXhtml.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.Console.Demo/ConsoleDemoXml/ConsoleDemoXml/ConsoleDemoXml.csproj b/demo/Skylark.Console.Demo/ConsoleDemoXml/ConsoleDemoXml/ConsoleDemoXml.csproj
index efb3bed0..9f550417 100644
--- a/demo/Skylark.Console.Demo/ConsoleDemoXml/ConsoleDemoXml/ConsoleDemoXml.csproj
+++ b/demo/Skylark.Console.Demo/ConsoleDemoXml/ConsoleDemoXml/ConsoleDemoXml.csproj
@@ -8,8 +8,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/demo/Skylark.WinForms.Demo/Skylark.UI/Skylark.UI/Skylark.UI.csproj b/demo/Skylark.WinForms.Demo/Skylark.UI/Skylark.UI/Skylark.UI.csproj
index e45447d4..d2efa365 100644
--- a/demo/Skylark.WinForms.Demo/Skylark.UI/Skylark.UI/Skylark.UI.csproj
+++ b/demo/Skylark.WinForms.Demo/Skylark.UI/Skylark.UI/Skylark.UI.csproj
@@ -15,8 +15,8 @@
Skylark.UI.Program
-
-
-
+
+
+
\ No newline at end of file
diff --git a/demo/Skylark.WinForms.Demo/WinFormsDemoWallpaper/WinFormsDemoWallpaper/WinFormsDemoWallpaper.csproj b/demo/Skylark.WinForms.Demo/WinFormsDemoWallpaper/WinFormsDemoWallpaper/WinFormsDemoWallpaper.csproj
index fd23956b..33d5f155 100644
--- a/demo/Skylark.WinForms.Demo/WinFormsDemoWallpaper/WinFormsDemoWallpaper/WinFormsDemoWallpaper.csproj
+++ b/demo/Skylark.WinForms.Demo/WinFormsDemoWallpaper/WinFormsDemoWallpaper/WinFormsDemoWallpaper.csproj
@@ -12,8 +12,8 @@
WinFormsDemoWallpaper.Program
-
-
+
+
diff --git a/src/Skylark.Clipboard/Skylark.Clipboard.csproj b/src/Skylark.Clipboard/Skylark.Clipboard.csproj
index e4b372e0..dd7fe147 100644
--- a/src/Skylark.Clipboard/Skylark.Clipboard.csproj
+++ b/src/Skylark.Clipboard/Skylark.Clipboard.csproj
@@ -11,7 +11,7 @@
Resources\Skylark.Clipboard.ico
- 3.1.1.1
+ 3.1.1.2
$(Version)
true
Skylark.Clipboard
@@ -57,7 +57,7 @@
-
+
diff --git a/src/Skylark.DNS/Skylark.DNS.csproj b/src/Skylark.DNS/Skylark.DNS.csproj
index bbf7a87e..5fed7066 100644
--- a/src/Skylark.DNS/Skylark.DNS.csproj
+++ b/src/Skylark.DNS/Skylark.DNS.csproj
@@ -10,7 +10,7 @@
Resources\Skylark.DNS.ico
- 3.1.1.1
+ 3.1.1.2
$(Version)
true
Skylark.DNS
@@ -56,7 +56,7 @@
-
+
diff --git a/src/Skylark.Standard/Extension/Time/TimeExtension.cs b/src/Skylark.Standard/Extension/Time/TimeExtension.cs
index 7136e4a0..a42d18e3 100644
--- a/src/Skylark.Standard/Extension/Time/TimeExtension.cs
+++ b/src/Skylark.Standard/Extension/Time/TimeExtension.cs
@@ -1,5 +1,6 @@
using SE = Skylark.Exception;
using SECNT = Skylark.Enum.ClearNumericType;
+using SESTT = Skylark.Enum.ShortTimeType;
using SETT = Skylark.Enum.TimeType;
using SHC = Skylark.Helper.Converter;
using SHN = Skylark.Helper.Numeric;
@@ -167,6 +168,7 @@ private static SSTTS AutoDetect(double Value, SETT Input)
Result.Type = Active;
Result.Text = $"{Active}";
+ Result.Short = (SESTT)Active;
Result.Value = Convert(Value, Input, Active);
return Result;
diff --git a/src/Skylark.Standard/Skylark.Standard.csproj b/src/Skylark.Standard/Skylark.Standard.csproj
index 52e2b572..48504c34 100644
--- a/src/Skylark.Standard/Skylark.Standard.csproj
+++ b/src/Skylark.Standard/Skylark.Standard.csproj
@@ -10,7 +10,7 @@
Resources\Skylark.Standard.ico
- 3.1.1.5
+ 3.1.1.6
$(Version)
true
Skylark.Standard
@@ -56,7 +56,7 @@
-
+
diff --git a/src/Skylark.Uptime/Skylark.Uptime.cs b/src/Skylark.Uptime/Skylark.Uptime.cs
index b98443c8..ad0a92c6 100644
--- a/src/Skylark.Uptime/Skylark.Uptime.cs
+++ b/src/Skylark.Uptime/Skylark.Uptime.cs
@@ -18,8 +18,8 @@
// Creator: Taiizor
// Website: www.Vegalya.com
// Created: 27.Feb.2023
-// Changed: 09.Aug.2023
-// Version: 3.1.1.1
+// Changed: 20.Aug.2023
+// Version: 3.1.1.2
//
// |---------DO-NOT-REMOVE---------|
diff --git a/src/Skylark.Uptime/Skylark.Uptime.csproj b/src/Skylark.Uptime/Skylark.Uptime.csproj
index d1a84307..7a780402 100644
--- a/src/Skylark.Uptime/Skylark.Uptime.csproj
+++ b/src/Skylark.Uptime/Skylark.Uptime.csproj
@@ -10,7 +10,7 @@
Resources\Skylark.Uptime.ico
- 3.1.1.1
+ 3.1.1.2
$(Version)
true
Skylark.Uptime
@@ -56,7 +56,7 @@
-
+
diff --git a/src/Skylark.Wing/Skylark.Wing.cs b/src/Skylark.Wing/Skylark.Wing.cs
index 9fd877f9..6e45b25b 100644
--- a/src/Skylark.Wing/Skylark.Wing.cs
+++ b/src/Skylark.Wing/Skylark.Wing.cs
@@ -21,8 +21,8 @@
// Creator: Taiizor
// Website: www.Vegalya.com
// Created: 17.Jun.2023
-// Changed: 09.Aug.2023
-// Version: 3.1.1.2
+// Changed: 20.Aug.2023
+// Version: 3.1.1.4
//
// |---------DO-NOT-REMOVE---------|
diff --git a/src/Skylark.Wing/Skylark.Wing.csproj b/src/Skylark.Wing/Skylark.Wing.csproj
index 9a032989..a2f8722b 100644
--- a/src/Skylark.Wing/Skylark.Wing.csproj
+++ b/src/Skylark.Wing/Skylark.Wing.csproj
@@ -12,7 +12,7 @@
Resources\Skylark.Wing.ico
- 3.1.1.3
+ 3.1.1.4
$(Version)
true
Skylark.Wing
@@ -58,7 +58,7 @@
-
+
diff --git a/src/Skylark/Enum/TimeType.cs b/src/Skylark/Enum/TimeType.cs
index a1a8dd39..b62c8505 100644
--- a/src/Skylark/Enum/TimeType.cs
+++ b/src/Skylark/Enum/TimeType.cs
@@ -74,4 +74,79 @@ public enum TimeType
///
Millennium
}
+
+ ///
+ /// Short time type enum
+ ///
+ public enum ShortTimeType
+ {
+ ///
+ /// aѕ
+ ///
+ aѕ,
+ ///
+ /// fs
+ ///
+ fs,
+ ///
+ /// ps
+ ///
+ ps,
+ ///
+ /// ns
+ ///
+ ns,
+ ///
+ /// µs
+ ///
+ µs,
+ ///
+ /// ms
+ ///
+ ms,
+ /////
+ ///// cs
+ /////
+ //cs,
+ ////
+ //// ds
+ ////
+ //ds,
+ ///
+ /// s
+ ///
+ s,
+ ///
+ /// min
+ ///
+ min,
+ ///
+ /// hr
+ ///
+ hr,
+ ///
+ /// day
+ ///
+ day,
+ ///
+ /// wk
+ ///
+ wk,
+ ///
+ /// yr
+ ///
+ yr,
+ ///
+ /// decade
+ ///
+ decade,
+ ///
+ /// cent
+ ///
+ cent,
+ ///
+ /// mil
+ ///
+ mil
+ }
}
\ No newline at end of file
diff --git a/src/Skylark/Helper/Converter.cs b/src/Skylark/Helper/Converter.cs
index ec042e1a..7f833b3c 100644
--- a/src/Skylark/Helper/Converter.cs
+++ b/src/Skylark/Helper/Converter.cs
@@ -11,6 +11,7 @@
using ESRPT = Skylark.Enum.SimilarPasswordType;
using ESST = Skylark.Enum.ShortStorageType;
using EST = Skylark.Enum.StorageType;
+using ESTT = Skylark.Enum.ShortTimeType;
using ETET = Skylark.Enum.TimeType;
using ETFT = Skylark.Enum.TimeoutFlagsType;
using ETXT = Skylark.Enum.TaxType;
@@ -196,6 +197,25 @@ public static ESST Convert(string Type, ESST Back = ESST.b)
return Back;
}
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static ESTT Convert(string Type, ESTT Back = ESTT.aѕ)
+ {
+ foreach (ESTT Types in (ESST[])System.Enum.GetValues(typeof(ESTT)))
+ {
+ if (Check(Type, Types))
+ {
+ return Types;
+ }
+ }
+
+ return Back;
+ }
+
///
///
///
diff --git a/src/Skylark/Skylark.cs b/src/Skylark/Skylark.cs
index 125cc17e..536f85b3 100644
--- a/src/Skylark/Skylark.cs
+++ b/src/Skylark/Skylark.cs
@@ -12,8 +12,8 @@
// Creator: Taiizor
// Website: www.Vegalya.com
// Created: 03.Jan.2023
-// Changed: 09.Aug.2023
-// Version: 3.1.1.5
+// Changed: 20.Aug.2023
+// Version: 3.1.1.7
//
// |---------DO-NOT-REMOVE---------|
diff --git a/src/Skylark/Skylark.csproj b/src/Skylark/Skylark.csproj
index 9dd07f3d..d752c0c8 100644
--- a/src/Skylark/Skylark.csproj
+++ b/src/Skylark/Skylark.csproj
@@ -10,7 +10,7 @@
Resources\Skylark.ico
- 3.1.1.5
+ 3.1.1.7
$(Version)
true
Skylark
diff --git a/src/Skylark/Struct/Time/TimeStruct.cs b/src/Skylark/Struct/Time/TimeStruct.cs
index 22ed53cd..f44e08c1 100644
--- a/src/Skylark/Struct/Time/TimeStruct.cs
+++ b/src/Skylark/Struct/Time/TimeStruct.cs
@@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
+using ESTT = Skylark.Enum.ShortTimeType;
using ETT = Skylark.Enum.TimeType;
namespace Skylark.Struct.Time
@@ -20,6 +21,10 @@ public struct TimeStruct
///
///
///
+ public ESTT Short;
+ ///
+ ///
+ ///
public ETT Type;
}
}
\ No newline at end of file
diff --git a/tutorial/C#/#002 install-from-nuget/install-from-nuget/install-from-nuget.csproj b/tutorial/C#/#002 install-from-nuget/install-from-nuget/install-from-nuget.csproj
index b6d3be92..8860d5c3 100644
--- a/tutorial/C#/#002 install-from-nuget/install-from-nuget/install-from-nuget.csproj
+++ b/tutorial/C#/#002 install-from-nuget/install-from-nuget/install-from-nuget.csproj
@@ -9,10 +9,10 @@
-
-
+
+
-
+
\ No newline at end of file