Convert fix.

This commit is contained in:
José Pedro 2016-12-01 14:52:55 +00:00
parent 890152d8e7
commit a44f62a9ac
2 changed files with 12 additions and 2 deletions

View file

@ -11,7 +11,7 @@ namespace Cosmos.Core.Plugs.System
public static DateTime get_Now()
{
int[] raw = GetRawDate();
return new DateTime(
100 * BCDtoBIN(raw[10]) + BCDtoBIN(raw[9]), //YEAR
BCDtoBIN(raw[8]), //MONTH
@ -51,7 +51,12 @@ namespace Cosmos.Core.Plugs.System
return raw;
}
public static int ToString(ref decimal aThis)
{
throw new NotImplementedException("DateTime.ToString()");
}
public static long GetSystemTimeAsFileTime() => get_Now().Ticks;
/// <summary>

View file

@ -15,5 +15,10 @@ namespace Cosmos.System.Plugs.System
{
throw new NotImplementedException("Decimal.GetHashCode()");
}
public static int ToString(ref decimal aThis)
{
throw new NotImplementedException("Decimal.ToString()");
}
}
}