Date | 2019-09-15 (1,888 days ago) |
---|---|
Downloads | 10K downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET Standard 1.1 .NET Standard 1.3 .NET 4.5 .NET 4.6 .NET 4.7 |
#installation
">Installation#changelog
">ChangelogIndividual enum string converter classes are no longer marked as obsolete (see 39899ec
)
The EnumCamelCaseConveter
, EnumLowerCaseConverter
and EnumPascalCaseConverter
classes now inherit from the EnumStringConverter
class in stead of having their own implementations.
UnixTimeConverter
JSON converter is no longer obsolete (see cb4ab55
)
Instead of having it's own implementation (which was why the class was marked as obsolete), the class now inherits from TimeConverter
and specifies that the format should be unix time.
Added more GetAge
method overloads to the TimeUtils
class (see 5db70b9
and a4bff3e
)
The added overloads support different types of parameters - eg. it's now possible to calculate the age between two instances of EssentialsDate
.
Added extra properties to the EssentialsTime
class (see f2c15bc
)
Added properties include IsToday
, DayName
and MonthName
.
Added JsonConverter
attribute to the EssentialsDate
class (see 133a333
)
The JsonConverter
attribute now specifies that the TimeConverter
class should be used when serializing and deserializing instances of EssentialsDate
. This means that instances will be serialized to an ISO 8601 formatted string instead of a JSON object will all the properties of the EssentialsDate
class.