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

net.finmath.time.businessdaycalendar.BusinessdayCalendarAny Maven / Gradle / Ivy

Go to download

finmath lib is a Mathematical Finance Library in Java. It provides algorithms and methodologies related to mathematical finance.

There is a newer version: 6.0.19
Show newest version
/*
 * (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
 *
 * Created on 15.09.2013
 */

package net.finmath.time.businessdaycalendar;

import java.time.LocalDate;

/**
 * A business day calendar, where every day is a business day.
 *
 * @author Christian Fries
 * @version 1.0
 */
public class BusinessdayCalendarAny extends AbstractBusinessdayCalendar {

	private static final long serialVersionUID = -2440422998196510638L;

	/**
	 * Create a business day calendar, where every day is a business day.
	 */
	public BusinessdayCalendarAny() {
	}

	@Override
	public boolean isBusinessday(final LocalDate date) {
		return true;
	}

	@Override
	public String toString() {
		return "BusinessdayCalendarAny";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy