to top
Datalogic APIs
public class

WorkSchedule

extends SerializableBlob
java.lang.Object
   ↳ com.datalogic.device.configuration.SerializableBlob
     ↳ com.datalogic.device.configuration.WorkSchedule

Summary

Nested Classes
class WorkSchedule.Builder Builder for WorkSchedule. 
class WorkSchedule.WorkTimeInfo WorkTimeInfo implements the BlobProperty that allows to manage work time information. 
Constants
int WEEK_DAY_FRIDAY
int WEEK_DAY_GENERIC Constants for the days of the week (ISO-8601).
int WEEK_DAY_MONDAY
int WEEK_DAY_SATURDAY
int WEEK_DAY_SUNDAY
int WEEK_DAY_THURSDAY
int WEEK_DAY_TUESDAY
int WEEK_DAY_WEDNESDAY
Public Constructors
WorkSchedule()
Public Methods
List<WorkSchedule.WorkTimeInfo> getGeneric()
Get the smart charge schedule, generic for all days.
List<WorkSchedule.WorkTimeInfo> getWeekly(int dayOfWeek)
Get the smart charge schedule for a specific day of the week.
[Expand]
Inherited Methods
From class com.datalogic.device.configuration.SerializableBlob
From class java.lang.Object

Constants

public static final int WEEK_DAY_FRIDAY

Added in revision 44

Constant Value: 5 (0x00000005)

public static final int WEEK_DAY_GENERIC

Added in revision 44

Constants for the days of the week (ISO-8601).

Constant Value: 0 (0x00000000)

public static final int WEEK_DAY_MONDAY

Added in revision 44

Constant Value: 1 (0x00000001)

public static final int WEEK_DAY_SATURDAY

Added in revision 44

Constant Value: 6 (0x00000006)

public static final int WEEK_DAY_SUNDAY

Added in revision 44

Constant Value: 7 (0x00000007)

public static final int WEEK_DAY_THURSDAY

Added in revision 44

Constant Value: 4 (0x00000004)

public static final int WEEK_DAY_TUESDAY

Added in revision 44

Constant Value: 2 (0x00000002)

public static final int WEEK_DAY_WEDNESDAY

Added in revision 44

Constant Value: 3 (0x00000003)

Public Constructors

public WorkSchedule ()

Added in revision 44

Public Methods

public List<WorkSchedule.WorkTimeInfo> getGeneric ()

Added in revision 44

Get the smart charge schedule, generic for all days.

Returns
  • List the smart charge schedule for all days.

public List<WorkSchedule.WorkTimeInfo> getWeekly (int dayOfWeek)

Added in revision 44

Get the smart charge schedule for a specific day of the week.

Parameters
dayOfWeek the day of the week (1 = Monday, ..., 7 = Sunday)
Returns
  • List the smart charge schedule for the specified day. throws IllegalArgumentException if the day of the week is not between 1 and 7.