All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.skjolber.dc.model.ServiceCalendarDate Maven / Gradle / Ivy

package com.github.skjolber.dc.model;

import java.time.LocalDate;


public class ServiceCalendarDate {

    public static final int EXCEPTION_TYPE_ADD = 1;

    public static final int EXCEPTION_TYPE_REMOVE = 2;

    private Service service;

    private LocalDate date;

    private int exceptionType;

    public Service getService() {
        return service;
    }

    public void setService(Service service) {
        this.service = service;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public int getExceptionType() {
        return exceptionType;
    }

    public void setExceptionType(int exceptionType) {
        this.exceptionType = exceptionType;
    }

	public boolean isActive(LocalDate date) {
		return this.date.isEqual(date);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy