Gjsify LogoGjsify Logo

Opaque structure, which represents an alarm occurrence, i.e. a instance instance. Use the functions below to work with it.

record

Hierarchy

  • ComponentAlarmInstance

Index

Constructors

  • new ComponentAlarmInstance(uid: string, instance_time: number, occur_start: number, occur_end: number): ComponentAlarmInstance
  • Creates a new #ECalComponentAlarmInstance structure, filled with the given values. Free the instance with e_cal_component_alarm_instance_free(), when no longer needed.

    Parameters

    • uid: string

      UID of the alarm

    • instance_time: number

      instance time, i.e. "5 minutes before the appointment"

    • occur_start: number

      actual event occurrence start to which this instance corresponds

    • occur_end: number

      actual event occurrence end to which this instance corresponds

    Returns ComponentAlarmInstance

Properties

name: string

Methods

  • get_occur_end(): number
  • get_occur_start(): number
  • get_rid(): string
  • get_time(): number
  • get_uid(): string
  • set_occur_end(occur_end: number): void
  • Set the actual event occurrence end to which this instance corresponds.

    Parameters

    • occur_end: number

      event occurence end to set

    Returns void

  • set_occur_start(occur_start: number): void
  • Set the actual event occurrence start to which this instance corresponds.

    Parameters

    • occur_start: number

      event occurence start to set

    Returns void

  • set_rid(rid: string): void
  • Set the Recurrence ID of the component this instance was generated for.

    Parameters

    • rid: string

      recurrence UID to set, or %NULL

    Returns void

  • set_time(instance_time: number): void
  • Set the instance time, i.e. "5 minutes before the appointment".

    Parameters

    • instance_time: number

      instance time to set

    Returns void

  • set_uid(uid: string): void
  • Creates a new #ECalComponentAlarmInstance structure, filled with the given values. Free the instance with e_cal_component_alarm_instance_free(), when no longer needed.

    Parameters

    • uid: string

      UID of the alarm

    • instance_time: number

      instance time, i.e. "5 minutes before the appointment"

    • occur_start: number

      actual event occurrence start to which this instance corresponds

    • occur_end: number

      actual event occurrence end to which this instance corresponds

    Returns ComponentAlarmInstance

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method