nl.hsac.fitnesse.symbols.YearsFromToday Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hsac-fitnesse-plugin Show documentation
Show all versions of hsac-fitnesse-plugin Show documentation
Plugin to add features to a FitNesse installation
package nl.hsac.fitnesse.symbols;
import fitnesse.wikitext.parser.Today;
import java.util.Calendar;
/**
* Our version of !today, that allows us to specify years instead of days.
* Usage: !yearsFromToday [(format)] [+|-increment]
*/
public class YearsFromToday extends Today {
public YearsFromToday() {
super("YearsFromToday", "!yearsFromToday", Calendar.YEAR);
}
public YearsFromToday(String symbolName, String symbolText) {
super(symbolName, symbolText, Calendar.YEAR);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy