Package org.faktorips.codegen.dthelpers
Interface ILocalDateHelper
- All Known Implementing Classes:
LocalDateHelper,LocalDateHelper
public interface ILocalDateHelper
A
AbstractTimeHelper that supports a LocalDate datatype.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the class listing the accessible fields of the LocalDate.getDateInitialization(JavaCodeFragment year, JavaCodeFragment month, JavaCodeFragment day) Returns the code to create a new LocalDate.Returns the field for the day of the month in theDateFieldEnumClass.Returns the field for the month of the year in theDateFieldEnumClass.getPeriodCode(JavaCodeFragment arg1, JavaCodeFragment arg2, ILocalDateHelper.Period period) Returns the code to calculate the period between the two arguments.Returns the field for the year in theDateFieldEnumClass.
-
Method Details
-
getPeriodCode
JavaCodeFragment getPeriodCode(JavaCodeFragment arg1, JavaCodeFragment arg2, ILocalDateHelper.Period period) Returns the code to calculate the period between the two arguments. -
getDateInitialization
JavaCodeFragment getDateInitialization(JavaCodeFragment year, JavaCodeFragment month, JavaCodeFragment day) Returns the code to create a new LocalDate. -
getDateFieldEnumClass
String getDateFieldEnumClass()Returns the name of the class listing the accessible fields of the LocalDate. -
getDayOfMonthField
String getDayOfMonthField()Returns the field for the day of the month in theDateFieldEnumClass. -
getMonthOfYearField
String getMonthOfYearField()Returns the field for the month of the year in theDateFieldEnumClass. -
getYearField
String getYearField()Returns the field for the year in theDateFieldEnumClass.
-