Hierarchy

  • TimeOnly

Index

Constructors

constructor

Accessors

hour

  • get hour(): number
  • Returns number

millisecond

  • get millisecond(): number
  • Returns number

minute

  • get minute(): number
  • Returns number

second

  • get second(): number
  • Returns number

Static now

Methods

toDateTime

toString

  • toString(format?: string): string
  • Parameters

    • Default value format: string = "t"

    Returns string

Static fromDateTime

Static parse

Static tryParse

  • tryParse(s: string, refResult: object): boolean
  • Parameters

    • s: string
    • refResult: object

    Returns boolean

Generated using TypeDoc