文档管理中心
API参考位置服务Androidcom.huawei.hms.site.api.modelClass SummaryPeriod

Period

展开

Class Info

public class Period

表示一个时间段。

Public Constructor Summary

展开

Constructor Name

Period()

默认的构造方法。

Public Method Summary

展开

Qualifier and Type

Method Name and Description

TimeOfWeek

getClose()

获取关闭时间。

TimeOfWeek

getOpen()

获取开放时间。

void

setClose(TimeOfWeek close)

设置关闭时间。

void

setOpen(TimeOfWeek open)

设置开放时间。

Public Methods

getClose

展开

Method

public TimeOfWeek getClose()

您调用此API可以获取关闭时间。

Returns

展开

Type

Description

TimeOfWeek

地点的关闭时间。

getOpen

展开

Method

public TimeOfWeek getOpen()

您调用此API可以获取开放时间。

Returns

展开

Type

Description

TimeOfWeek

地点的开放时间。

setClose

展开

Method

public void setClose(TimeOfWeek close)

您调用此API可以设置关闭时间。

Parameters

展开

Name

Description

close

地点的关闭时间。

setOpen

展开

Method

public void setOpen(TimeOfWeek open)

您调用此API可以设置开放时间。

Parameters

展开

Name

Description

open

地点的开放时间。

在 API参考 中进行搜索
请输入您想要搜索的关键词