Java Code Examples for java.time.OffsetTime#toLocalTime()
The following examples show how to use
java.time.OffsetTime#toLocalTime() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: OffsetTimeHandle.java From alibaba-rsocket-broker with Apache License 2.0 | 4 votes |
public OffsetTimeHandle(OffsetTime o) { this.zoneOffset = o.getOffset(); this.localTime = o.toLocalTime(); }
Example 2
Source File: OffsetTimeHandle.java From joyrpc with Apache License 2.0 | 4 votes |
@Override public void wrap(final OffsetTime offsetTime) { this.zoneOffset = offsetTime.getOffset(); this.localTime = offsetTime.toLocalTime(); }
Example 3
Source File: PersistentOffsetTimeAsLongAndStringOffset.java From jadira with Apache License 2.0 | 4 votes |
@Override protected Object[] toConvertedColumns(OffsetTime value) { return new Object[] { value.toLocalTime(), value.getOffset() }; }
Example 4
Source File: PersistentOffsetTimeAsTimeAndStringOffset.java From jadira with Apache License 2.0 | 4 votes |
@Override protected Object[] toConvertedColumns(OffsetTime value) { return new Object[] { value.toLocalTime(), value.getOffset() }; }
Example 5
Source File: PersistentOffsetTimeAsStringAndStringOffset.java From jadira with Apache License 2.0 | 4 votes |
@Override protected Object[] toConvertedColumns(OffsetTime value) { return new Object[] { value.toLocalTime(), value.getOffset() }; }