Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimeExtent

Hierarchy

Index

Properties

declaredClass

declaredClass: string

destroyed

destroyed: boolean

end

end: Date

The end time of the time extent.

Read more...

initialized

initialized: boolean

start

start: Date

The start time of the time extent.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): TimeExtent
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TimeExtent

clone

  • Creates a deep clone of TimeExtent object.

    Read more...

    Returns TimeExtent

destroy

  • destroy(): void
  • Returns void

expandTo

  • expandTo(unit: "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "milliseconds" | "weeks" | "decades" | "centuries"): TimeExtent
  • Expands the TimeExtent so that the start and end dates are rounded down and up, respectively, to the parsed time unit.

    Read more...

    Parameters

    • unit: "seconds" | "minutes" | "hours" | "days" | "months" | "years" | "milliseconds" | "weeks" | "decades" | "centuries"

    Returns TimeExtent

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

intersection

  • Returns the time extent resulting from the intersection of a given time extent and parsed time extent.

    Read more...

    Parameters

    Returns TimeExtent

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

set

  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns TimeExtent

  • Parameters

    Returns TimeExtent

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

union

  • Returns the time extent resulting from the union of the current time extent and a given time extent.

    Read more...

    Parameters

    Returns TimeExtent

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc