DateClaim

class DateClaim(val value: String, val claimDescription: ClaimDescription?) : Claim<String>

A Claim containing a date String as value. Dates from an Issuer shall be formatted in ISO 8601 format.

Constructors

Link copied to clipboard
constructor(value: String, claimDescription: ClaimDescription?)

Properties

Link copied to clipboard
Link copied to clipboard
open override val value: String

A date in ISO 8601 format, e.g. 2015-03-14

Functions

Link copied to clipboard
open fun getDisplayLabel(languageKey: String, fallbackLanguageKey: String = "en"): String

A helper function to get a Claim's label / name in a specific language.