-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extension cleanup, typos, and some renamings
- Loading branch information
Showing
26 changed files
with
443 additions
and
415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace libNOM.io.Extensions; | ||
|
||
|
||
internal static class DateTimeOffsetExtensions | ||
{ | ||
/// <summary> | ||
/// Nullifies the last four digits of the current <see cref="DateTimeOffset"/> object. | ||
/// </summary> | ||
/// <param name="self"></param> | ||
/// <returns></returns> | ||
internal static DateTimeOffset ToBlobFileTime(this DateTimeOffset self) | ||
{ | ||
var ticks = self.Ticks % (long)(Math.Pow(10, 4)) * -1; // get last four digits negative | ||
return self.AddTicks(ticks); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.