ScheduleFactory

public class ScheduleFactory

Fields

EMPTY_PERIOD

public static final Period EMPTY_PERIOD

Constructors

ScheduleFactory

public ScheduleFactory()

Creates a ScheduleFactory.

Methods

build

public Schedule build(ScheduleRecord scheduleRecord)

Builds a schedule form the given schedule record details, default locale will be used.

Parameters:
  • scheduleRecord – the schedule record with details about the schedule, milestones and alerts
Returns:

the schedule

build

public Schedule build(ScheduleRecord scheduleRecord, Locale locale)

Builds a schedule form the given schedule record details

Parameters:
  • scheduleRecord – the schedule record with details about the schedule, milestones and alerts
  • locale – the locale to use for parsing
Returns:

the schedule