Added in API level 8

Field

class Field
kotlin.Any
   ↳ javax.xml.datatype.DatatypeConstants.Field

Type-safe enum class that represents six fields of the Duration class.

Summary

Public methods
Int

Get id of this Field.

String

Returns a field name in English.

Public methods

getId

Added in API level 8
fun getId(): Int

Get id of this Field.

Return
Int Id of field.

toString

Added in API level 8
fun toString(): String

Returns a field name in English. This method is intended to be used for debugging/diagnosis and not for display to end-users.

Return
String a non-null valid String constant.