DOCUMENTATION: Removed unneeded AppleDouble DateTime handler.

This commit is contained in:
2017-12-23 03:58:01 +00:00
parent eace184c9a
commit efea6e8b33
3 changed files with 4 additions and 11 deletions

View File

@@ -44,7 +44,6 @@ namespace DiscImageChef
// Day 0 of Julian Date system
static readonly DateTime JulianEpoch = new DateTime(1858, 11, 17, 0, 0, 0);
static readonly DateTime AmigaEpoch = new DateTime(1978, 1, 1, 0, 0, 0);
static readonly DateTime AppleDoubleEpoch = new DateTime(1970, 1, 1, 0, 0, 0);
/// <summary>
/// Converts a Macintosh timestamp to a .NET DateTime
@@ -290,12 +289,6 @@ namespace DiscImageChef
return temp;
}
// TODO: This is unix
public static DateTime AppleDoubleToDateTime(ulong AppleDoubleTimeStamp)
{
return AppleDoubleEpoch.AddSeconds(AppleDoubleTimeStamp);
}
/// <summary>
/// Converts an ECMA timestamp to a .NET DateTime
/// </summary>