import type { AnyDevice , SendOptions } from '../client' ; export default class Time { constructor ( readonly device , readonly apiModuleName ) { } param sendOptions returns throws ResponseError async getTime ( sendOptions ? ) { return this . device . sendCommand ( { [ this . apiModuleName ] : { get_time : { } } , } , undefined , sendOptions ) ; } param sendOptions returns throws ResponseError async getTimezone ( sendOptions ? ) { return this . device . sendCommand ( { [ this . apiModuleName ] : { get_timezone : { } } , } , undefined , sendOptions ) ; } }