JoshuaWierenga / EfiSharp

An Attempt at building at least some of C# corelib for EFI applications. Inspired by https://github.com/MichalStrehovsky/zerosharp to see if this possible.
MIT License
18 stars 4 forks source link

DateTime support #17

Open JoshuaWierenga opened 3 years ago

JoshuaWierenga commented 3 years ago

As many public functions and properties as possible have been added with EFI_TIME forming the backend for DateTime.Now.

The lack of exception support leads to most of the constructors have slightly modified results to normal with invalid inputs being replaced with defaults rather than causing crashes.

I am currently considering if NotNullWhenAttribute, TypeCode, IConvertible and IFormatProvider are worth adding for the small number of functions they add or make identical to the dotnet version.

JoshuaWierenga commented 3 years ago

Before merging, every function needs to be at least somewhat tested, especially those that I had to modify to compile and run.