public class CustomTimeZone extends TimeZoneBase implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
CustomTimeZone.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
bias |
protected DaylightTimeZoneOffset |
daylightOffset |
protected StandardTimeZoneOffset |
standardOffset |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
contextPath, name, odataType| Modifier | Constructor and Description |
|---|---|
protected |
CustomTimeZone() |
| Modifier and Type | Method and Description |
|---|---|
static CustomTimeZone.Builder |
builderCustomTimeZone()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<Integer> |
getBias() |
Optional<DaylightTimeZoneOffset> |
getDaylightOffset() |
Optional<StandardTimeZoneOffset> |
getStandardOffset() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
CustomTimeZone |
withBias(Integer bias) |
CustomTimeZone |
withDaylightOffset(DaylightTimeZoneOffset daylightOffset) |
CustomTimeZone |
withStandardOffset(StandardTimeZoneOffset standardOffset) |
builder, getName, withNameprotected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected Integer bias
protected StandardTimeZoneOffset standardOffset
protected DaylightTimeZoneOffset daylightOffset
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class TimeZoneBasepublic CustomTimeZone withBias(Integer bias)
public Optional<StandardTimeZoneOffset> getStandardOffset()
public CustomTimeZone withStandardOffset(StandardTimeZoneOffset standardOffset)
public Optional<DaylightTimeZoneOffset> getDaylightOffset()
public CustomTimeZone withDaylightOffset(DaylightTimeZoneOffset daylightOffset)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class TimeZoneBasepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class TimeZoneBasepublic static CustomTimeZone.Builder builderCustomTimeZone()
public String toString()
toString in class TimeZoneBaseCopyright © 2018–2020. All rights reserved.