MRB webassembly

This commit is contained in:
Chase Tucker
2024-05-13 14:33:27 -07:00
parent ba8d92ea01
commit 9b7e3ef897
109 changed files with 11731 additions and 1024 deletions

View File

@ -0,0 +1,14 @@
namespace MesaFabApproval.Shared.Utilities;
public class DateTimeUtilities {
public static DateTime MIN_DT = new DateTime(1753, 1, 1, 0, 0, 0);
public static DateTime MAX_DT = new DateTime(9999, 12, 31, 11, 59, 59);
public static string GetDateAsStringMinDefault(DateTime dt) {
return dt > MIN_DT ? dt.ToString("yyyy-MM-dd HH:mm") : "";
}
public static string GetDateAsStringMaxDefault(DateTime dt) {
return dt < MAX_DT ? dt.ToString("yyyy-MM-dd HH:mm") : "";
}
}