Class WorkingHours

com.yandex.mapkit.search

java.lang.Object ⇽ WorkingHours

public class WorkingHours

Open hours for an organization.

Constructors

WorkingHours()

Use constructor with parameters in your code.

WorkingHours(@NonNull String text, @NonNull List< Availability > availabilities, @Nullable State state)

Methods

synchronized List< Availability > getAvailabilities()

Structured open hours information.

String getNativeName()
synchronized State getState()

Current company working status.

synchronized String getText()

Human-readable localized open hours description.

void serialize(Archive archive)

Constructor Detail

WorkingHours

public WorkingHours ()

Use constructor with parameters in your code.

This one is for serialization only!

WorkingHours

public WorkingHours (@NonNull String text, @NonNull List< Availability > availabilities, @Nullable State state)

Method Detail

getAvailabilities

public synchronized List< Availability > getAvailabilities ()

Structured open hours information.

getNativeName

public static String getNativeName ()

getState

public synchronized State getState ()

Current company working status.

Optional field, can be null.

getText

public synchronized String getText ()

Human-readable localized open hours description.

For example, "пн-пт 10:00-20:00".

serialize

public void serialize (Archive archive)