// Path: src/main/java/com/mdimension/jchronic/tags/Pointer.java
// public class Pointer extends Tag<Pointer.PointerType> {
//   private static final Pattern IN_PATTERN = Pattern.compile("\\bin\\b");
//   private static final Pattern FUTURE_PATTERN = Pattern.compile("\\bfuture\\b");
//   private static final Pattern PAST_PATTERN = Pattern.compile("\\bpast\\b");
// 
//   public enum PointerType {
//     PAST, FUTURE, NONE
//   }
//   
//   public Pointer(Pointer.PointerType type) {
//     super(type);
//   }
// 
//   public static List<Token> scan(List<Token> tokens, Options options) {
//     for (Token token : tokens) {
//       Pointer t = Pointer.scanForAll(token, options);
//       if (t != null) {
//         token.tag(t);
//       }
//     }
//     return tokens;
//   }
// 
//   public static Pointer scanForAll(Token token, Options options) {
//     Map<Pattern, Pointer.PointerType> scanner = new HashMap<Pattern, Pointer.PointerType>();
//     scanner.put(Pointer.PAST_PATTERN, Pointer.PointerType.PAST);
//     scanner.put(Pointer.FUTURE_PATTERN, Pointer.PointerType.FUTURE);
//     scanner.put(Pointer.IN_PATTERN, Pointer.PointerType.FUTURE);
//     for (Pattern scannerItem : scanner.keySet()) {
//       if (scannerItem.matcher(token.getWord()).matches()) { 
//         return new Pointer(scanner.get(scannerItem));
//       }
//     }
//     return null;
//   }
// 
//   @Override
//   public String toString() {
//     return "pointer-" + getType();
//   }
// }


import java.util.Calendar;
import com.mdimension.jchronic.tags.Pointer;
  }

  public Options(int ambiguousTimeRange) {
    this(Pointer.PointerType.FUTURE, Calendar.getInstance(), true, ambiguousTimeRange);
  }

  public Options(Pointer.PointerType context, Calendar now, boolean guess, int ambiguousTimeRange) {
    _context = context;
    _now = now;
    _guess = guess;
    _ambiguousTimeRange = ambiguousTimeRange;
  }
  
  public void setDebug(boolean debug) {
    _debug = debug;
  }
  
  public boolean isDebug() {
    return _debug;
  }
  
  public void setCompatibilityMode(boolean compatibilityMode) {
    _compatibilityMode = compatibilityMode;
  }
  
  public boolean isCompatibilityMode() {
    return _compatibilityMode;
  }

  public void setContext(Pointer.PointerType context) {
// Path: src/main/java/com/mdimension/jchronic/tags/Pointer.java
// public class Pointer extends Tag<Pointer.PointerType> {
//   private static final Pattern IN_PATTERN = Pattern.compile("\\bin\\b");
//   private static final Pattern FUTURE_PATTERN = Pattern.compile("\\bfuture\\b");
//   private static final Pattern PAST_PATTERN = Pattern.compile("\\bpast\\b");
// 
//   public enum PointerType {
//     PAST, FUTURE, NONE
//   }
//   
//   public Pointer(Pointer.PointerType type) {
//     super(type);
//   }
// 
//   public static List<Token> scan(List<Token> tokens, Options options) {
//     for (Token token : tokens) {
//       Pointer t = Pointer.scanForAll(token, options);
//       if (t != null) {
//         token.tag(t);
//       }
//     }
//     return tokens;
//   }
// 
//   public static Pointer scanForAll(Token token, Options options) {
//     Map<Pattern, Pointer.PointerType> scanner = new HashMap<Pattern, Pointer.PointerType>();
//     scanner.put(Pointer.PAST_PATTERN, Pointer.PointerType.PAST);
//     scanner.put(Pointer.FUTURE_PATTERN, Pointer.PointerType.FUTURE);
//     scanner.put(Pointer.IN_PATTERN, Pointer.PointerType.FUTURE);
//     for (Pattern scannerItem : scanner.keySet()) {
//       if (scannerItem.matcher(token.getWord()).matches()) { 
//         return new Pointer(scanner.get(scannerItem));
//       }
//     }
//     return null;
//   }
// 
//   @Override
//   public String toString() {
//     return "pointer-" + getType();
//   }
// }


// Path: src/main/java/com/mdimension/jchronic/Options.java
import java.util.Calendar;
import com.mdimension.jchronic.tags.Pointer;

  }

  public Options(int ambiguousTimeRange) {
    this(Pointer.PointerType.FUTURE, Calendar.getInstance(), true, ambiguousTimeRange);
  }

  public Options(Pointer.PointerType context, Calendar now, boolean guess, int ambiguousTimeRange) {
    _context = context;
    _now = now;
    _guess = guess;
    _ambiguousTimeRange = ambiguousTimeRange;
  }
  
  public void setDebug(boolean debug) {
    _debug = debug;
  }
  
  public boolean isDebug() {
    return _debug;
  }
  
  public void setCompatibilityMode(boolean compatibilityMode) {
    _compatibilityMode = compatibilityMode;
  }
  
  public boolean isCompatibilityMode() {
    return _compatibilityMode;
  }

  public void setContext(Pointer.PointerType context) {
    _context = context;