Package org.goda.chronic.handlers

Source Code of org.goda.chronic.handlers.SRPAHandler

package org.goda.chronic.handlers;

import java.util.List;
import org.goda.chronic.Options;
import org.goda.util.CollectionUtils;
import org.goda.chronic.utils.Token;
import org.goda.time.MutableInterval;


public class SRPAHandler extends SRPHandler {

  @Override
  public MutableInterval handle(List<Token> tokens, Options options) {
    MutableInterval anchorMutableInterval = Handler.getAnchor(CollectionUtils.subList(tokens,3, tokens.size()), options);
    return super.handle(tokens, anchorMutableInterval, options);
  }

}
TOP

Related Classes of org.goda.chronic.handlers.SRPAHandler

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.