Gjsify LogoGjsify Logo

Represents a time information.

record

Hierarchy

  • Time

Index

Constructors

Properties

fraction: number

fractionnal part of the seconds, in millionth' of second

field
hour: number

hour representation of the time, as a number between 0 and 23

field
minute: number

minute representation of the time, as a number between 0 and 59

field
second: number

second representation of the time, as a number between 0 and 59

field
timezone: number

number of seconds added to the GMT timezone

field
name: string

Methods

  • change_timezone(ntz: number): void
  • Changes time's timezone (for example to convert from GMT to another time zone). If time's current timezone is unset (i.e. equal to %GDA_TIMEZONE_INVALID), then this function simply sets time's timezone attribute; Otherwise, it adds or removes hours, minutes or seconds to reflect the time in the new timezone.

    Note: the resulting will always be a valid time.

    Parameters

    • ntz: number

      a new timezone to use, in seconds added to GMT

    Returns void

  • valid(): boolean
  • copy(boxed: object): object
  • free(boxed: object): void

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