Skip to content
Snippets Groups Projects
Commit 0127a501 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Add convenience property converting the grace period to a human-friendly format

Refers to #20
parent 0139315c
No related branches found
No related tags found
No related merge requests found
......@@ -297,6 +297,11 @@ namespace ATxCommon.Serializables
[XmlIgnore]
public static string ValidatorWarnings { get; set; }
/// <summary>
/// Convenience property converting the grace period to a human-friendly format.
/// </summary>
[XmlIgnore]
public string HumanGracePeriod => TimeUtils.DaysToHuman(GracePeriod, false);
#endregion
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment