Example usage for org.joda.time MutableInterval MutableInterval

List of usage examples for org.joda.time MutableInterval MutableInterval

Introduction

In this page you can find the example usage for org.joda.time MutableInterval MutableInterval.

Prototype

public MutableInterval(Object interval, Chronology chronology) 

Source Link

Document

Constructs a time interval by converting or copying from another object, overriding the chronology.

Usage

From source file:com.google.code.tickconverter.convert.MetatraderConverter.java

License:Open Source License

/**
 * Standard constructor to initalize the {@link MetatraderConverter} object. It's only one object necessary.
 * /*from   ww w .ja  va2  s  . c  o  m*/
 * @param interval
 */
public MetatraderConverter(final ReadableInstant start, final ReadablePeriod period) {
    validTickSet = new HashSet<>();
    this.period = period;
    currentInterval = new MutableInterval(start, period);
    LoggerUtils.createInfoLog("create interval: " + currentInterval);
}