Gjsify LogoGjsify Logo

Represents an instant (a time stamp)

record

Hierarchy

  • Timestamp

Index

Constructors

Properties

day: number

day representation of the time stamp, as a number between 1 and 31

field
fraction: number

fractionnal part of the seconds, in millionth' of second

field
hour: number

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

field
minute: number

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

field
month: number

month representation of the time stamp, as a number between 1 and 12

field
second: number

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

field
timezone: number

number of seconds added to the GMT timezone

field
year: number

year representation of the time stamp

field
name: string

Methods

  • change_timezone(ntz: number): void
  • This function is similar to gda_time_change_timezone() but operates on time stamps.

    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