public class CalendarDate extends Object implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
CalendarDate.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.internal.ChangedFields |
changedFields |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected OffsetDateTime |
date |
protected Integer |
dateSK |
protected String |
dayName |
protected Integer |
dayOfMonth |
protected Integer |
dayOfWeek |
protected Integer |
dayOfYear |
protected String |
dayShortName |
protected Period |
isLastDayOfPeriod |
protected String |
month |
protected String |
monthName |
protected Integer |
monthOfYear |
protected String |
monthShortName |
protected String |
odataType |
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl |
unmappedFields |
protected OffsetDateTime |
weekEndingDate |
protected OffsetDateTime |
weekStartingDate |
protected Integer |
year |
protected Integer |
yearMonth |
| Modifier | Constructor and Description |
|---|---|
protected |
CalendarDate() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
protected String odataType
protected OffsetDateTime date
protected Integer dateSK
protected String dayName
protected String dayShortName
protected Integer dayOfWeek
protected Integer dayOfMonth
protected Integer dayOfYear
protected OffsetDateTime weekStartingDate
protected OffsetDateTime weekEndingDate
protected String month
protected String monthName
protected String monthShortName
protected Integer monthOfYear
protected Integer yearMonth
protected Integer year
protected Period isLastDayOfPeriod
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic static CalendarDate.Builder builder()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<OffsetDateTime> getDate()
public CalendarDate withDate(OffsetDateTime date)
public CalendarDate withDateSK(Integer dateSK)
public CalendarDate withDayName(String dayName)
public CalendarDate withDayShortName(String dayShortName)
public CalendarDate withDayOfWeek(Integer dayOfWeek)
public CalendarDate withDayOfMonth(Integer dayOfMonth)
public CalendarDate withDayOfYear(Integer dayOfYear)
public Optional<OffsetDateTime> getWeekStartingDate()
public CalendarDate withWeekStartingDate(OffsetDateTime weekStartingDate)
public Optional<OffsetDateTime> getWeekEndingDate()
public CalendarDate withWeekEndingDate(OffsetDateTime weekEndingDate)
public CalendarDate withMonth(String month)
public CalendarDate withMonthName(String monthName)
public CalendarDate withMonthShortName(String monthShortName)
public CalendarDate withMonthOfYear(Integer monthOfYear)
public CalendarDate withYearMonth(Integer yearMonth)
public CalendarDate withYear(Integer year)
public CalendarDate withIsLastDayOfPeriod(Period isLastDayOfPeriod)
public CalendarDate withUnmappedField(String name, String value)
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic CalendarDate patch()
this with changed fields reset.this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedpublic CalendarDate put()
this
with changed fields reset (they were ignored anyway).this with changed fields resetcom.github.davidmoten.odata.client.ClientException - if HTTP response is not as expectedCopyright © 2018–2021. All rights reserved.