Home Reference Source
public class | source

BlockchainTimestamp

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public get

return in minutes

public get
public get

time: *

public get

Returns UTC timestamp

Private Members
private

Method Summary

Private Methods
private
private

_sendUTC(socket: *)

Public Constructors

public constructor() source

Public Members

public get localTime: * source

return in minutes

public get networkAdjustedTime: * source

public get time: * source

public get timeUTC: number: * source

Returns UTC timestamp

see stackoverflow: https://stackoverflow.com/a/8047885

Return:

number

Private Members

private _networkAdjustedTime: * source

Private Methods

private _initializeNewSocket(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private _sendUTC(socket: *) source

Params:

NameTypeAttributeDescription
socket *