DateTimeClaim

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

A Claim containing a date and time String as value. Dates and Times 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 and time in ISO 8601 format, e.g. 2015-03-14T09:26:53+00:00

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.