public class VariableDateExpression extends DateExpression
Constructor and Description |
---|
VariableDateExpression()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureCalendar(Calendar calendar)
Configures the given Calendar instance by applying all defined fields to it.
|
String |
getDayOfMonthField()
Returns the name of the field that contains the day of the month.
|
String |
getDayOfWeekField()
Returns the name of the field that contains the day-of-the-week.
|
String |
getDayOfWeekInMonthField()
Returns the name of the field that contains the day of the week in the current month.
|
String |
getDayOfYearField()
Returns the name of the field that contains the day of the year.
|
String |
getEpochTimeField()
Returns the name of the field that contains the epoch time, that is the time in seconds since 01-Jan-1970.
|
String |
getHourField()
Returns the name of the field that contains the hour of the day (using the 24-hour system).
|
String |
getMilliSecondField()
Returns the name of the field that contains the milliseconds.
|
String |
getMinuteField()
Returns the name of the field that contains the minute.
|
String |
getMonthField()
Returns the name of the field that contains the month.
|
String |
getSecondField()
Returns the name of the field that contains the second.
|
String |
getTimeField()
Returns the name of the field that contains the time in milli-seconds since 01-Jan-1970.
|
String |
getTimeZoneField()
Returns the name of the field that contains the time-zone.
|
String |
getWeekOfMonthField()
Defines the name of the field that contains the week of the month.
|
String |
getWeekOfYearField()
Defines the name of the field that contains the week-of-the-year.
|
String |
getYearField()
Returns the name of the field that contains the year.
|
void |
setDayOfMonthField(String dayOfMonthField)
Defines the name of the field that contains the day of the month.
|
void |
setDayOfWeekField(String dayOfWeekField)
Defines the name of the field that contains the day of the week.
|
void |
setDayOfWeekInMonthField(String dayOfWeekInMonthField)
Defines the name of the field that contains the day of the week in the current month.
|
void |
setDayOfYearField(String dayOfYearField)
Defines the name of the field that contains the day of the year.
|
void |
setEpochTimeField(String epochTimeField)
Defines the name of the field that contains the epoch time, that is the time in seconds since 01-Jan-1970.
|
void |
setHourField(String hourField)
Defines the name of the field that contains the hour of the day.
|
void |
setMilliSecondField(String milliSecondField)
Defines the name of the field that contains the milliseconds.
|
void |
setMinuteField(String minuteField)
Defines the name of the field that contains the minute.
|
void |
setMonthField(String monthField)
Defines the name of the field that contains the month.
|
void |
setSecondField(String secondField)
Defines the name of the field that contains the second.
|
void |
setTimeField(String timeField)
Defines the name of the field that contains the time in milli-seconds since 01-Jan-1970.
|
void |
setTimeZoneField(String timeZoneField)
Defines the name of the field that contains the time-zone.
|
void |
setWeekOfMonthField(String weekOfMonthField)
Returns the name of the field that contains the week of the month.
|
void |
setWeekOfYearField(String weekOfYearField)
Defines the name of the field that contains the week of the year.
|
void |
setYearField(String yearField)
Defines the name of the field that contains the year.
|
getCalendar, getDay, getDayOfMonth, getDayOfWeek, getDayOfWeekInMonth, getDayOfYear, getEpochTime, getHour, getMilliSecond, getMinute, getMonth, getSecond, getTime, getTimeZone, getValue, getWeekOfMonth, getWeekOfYear, getYear, setDay, setDayOfMonth, setDayOfWeek, setDayOfWeekInMonth, setDayOfYear, setEpochTime, setHour, setMilliSecond, setMinute, setMonth, setSecond, setTime, setTimeZone, setWeekOfMonth, setWeekOfYear, setYear
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public String getEpochTimeField()
public void setEpochTimeField(String epochTimeField)
epochTimeField
- a fieldname.public String getMonthField()
public void setMonthField(String monthField)
monthField
- a fieldname.public String getYearField()
public void setYearField(String yearField)
yearField
- a fieldname.public String getHourField()
public void setHourField(String hourField)
hourField
- a fieldname.public String getMinuteField()
public void setMinuteField(String minuteField)
minuteField
- a fieldname.public String getSecondField()
public void setSecondField(String secondField)
secondField
- a fieldname.public String getMilliSecondField()
public void setMilliSecondField(String milliSecondField)
milliSecondField
- a fieldname.public String getTimeField()
public void setTimeField(String timeField)
timeField
- a fieldname.public String getDayOfWeekField()
public void setDayOfWeekField(String dayOfWeekField)
dayOfWeekField
- a fieldname.public String getDayOfYearField()
public void setDayOfYearField(String dayOfYearField)
dayOfYearField
- a fieldname.public String getDayOfMonthField()
public void setDayOfMonthField(String dayOfMonthField)
dayOfMonthField
- a fieldname.public String getDayOfWeekInMonthField()
public void setDayOfWeekInMonthField(String dayOfWeekInMonthField)
dayOfWeekInMonthField
- a fieldname.public String getTimeZoneField()
public void setTimeZoneField(String timeZoneField)
timeZoneField
- a fieldname.public String getWeekOfYearField()
public void setWeekOfYearField(String weekOfYearField)
weekOfYearField
- a fieldname.public String getWeekOfMonthField()
public void setWeekOfMonthField(String weekOfMonthField)
weekOfMonthField
- a fieldname.protected void configureCalendar(Calendar calendar)
configureCalendar
in class DateExpression
calendar
- the week of the year property.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.