Style center content for forms
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Data.SqlTypes;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
@@ -99,6 +100,11 @@ namespace MileageTraker.Web.Utility
|
||||
return value;
|
||||
}
|
||||
|
||||
public static bool IsSqlMinValue(this DateTime dt)
|
||||
{
|
||||
return dt == SqlDateTime.MinValue.Value;
|
||||
}
|
||||
|
||||
public static string ToVerboseStringHistoric(this TimeSpan ts)
|
||||
{
|
||||
if (ts.TotalDays == 0)
|
||||
|
||||
Reference in New Issue
Block a user