![JAR search and dependency download from the Maven repository](/logo.png)
nl.hsac.fitnesse.symbols.MonthsFromToday 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
The newest version!
package nl.hsac.fitnesse.symbols;
import fitnesse.wikitext.parser.Today;
import java.util.Calendar;
/**
* Our version of !today, that allows us to specify months instead of days.
* Usage: !monthsFromToday [(format)] [+|-increment]
*/
public class MonthsFromToday extends Today {
public MonthsFromToday() {
super("MonthsFromToday", "!monthsFromToday", Calendar.MONTH);
}
public MonthsFromToday(String symbolName, String symbolText) {
super(symbolName, symbolText, Calendar.MONTH);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy