Class DateRecordValue

DateRecordValue - A value for a date field in a record.

Hierarchy (view full)

Constructors

  • Parameters

    • fieldId: number

      The id of the field.

    • value: Date

      The value of the field.

    Returns DateRecordValue

    • A new instance of DateRecordValue.

Properties

fieldId: number
value: Date

Methods

  • Returns Attachment[]

    • The value as an array of attachments.

    Method

    asAttachmentArray - Gets the value as an array of attachments.

    Throws

    • If the value is not an array of attachments.

    Throws

    • If the storage location is not a valid FileStorageSite.
  • Returns Date

    • The value as a date.

    Method

    asDate - Gets the value as a date.

    Throws

    • If the value is not a date.
  • Returns Delegate[]

    • The value as an array of delegates.

    Method

    asDelegateArray - Gets the value as an array of delegates.

    Throws

    • If the value is not an array of delegates.
  • Returns number

    • The value as a number.

    Method

    asNumber - Gets the value as a number.

    Throws

    • If the value is not a number.
  • Returns number[]

    • The value as an array of numbers.

    Method

    asNumberArray - Gets the value as an array of numbers.

    Throws

    • If the value is not an array of numbers.
  • Returns ScoringGroup[]

    • The value as an array of scoring groups.

    Method

    asScoringGroupArray - Gets the value as an array of scoring groups.

    Throws

    • If the value is not an array of scoring groups.
  • Returns string

    • The value as a string.

    Method

    asString - Gets the value as a string.

    Throws

    • If the value is not a string.
  • Returns string[]

    • The value as an array of strings.

    Method

    asStringArray - Gets the value as an array of strings.

    Throws

    • If the value is not an array of strings.
  • Returns TimeSpanData

    • The value as a TimeSpanData object.

    Method

    asTimeSpanData - Gets the value as a TimeSpanData object.

    Throws

    • If the value is not a TimeSpanData object.