Available Methods
- of ( )
- ofInstant ( )
- now ( )
- parse ( )
- plusMinutes ( )
- withOffsetSameInstant ( )
- plusDays ( )
- toInstant ( )
- MIN
- from ( )
- withYear ( )
- MAX
- withMinute ( )
- minusYears ( )
- minusWeeks ( )
- toString ( )
- minusHours ( )
- withSecond ( )
- minusDays ( )
- plusNanos ( )
- plusHours ( )
- until ( )
- minusNanos ( )
- withMonth ( )
- plusMonths ( )
- plusSeconds ( )
- plusYears ( )
- withDayOfMonth ( )
- isBefore ( )
- minusSeconds ( )
- withHour ( )
- minusMonths ( )
- minusMinutes ( )
- isEqual ( )
- atZoneSameInstant ( )
- plusWeeks ( )
- atZoneSimilarLocal ( )
- isAfter ( )
- withOffsetSameLocal ( )
- toZonedDateTime ( )
- compareTo ( )
- withNano ( )
- format ( )
- toLocalTime ( )
- toLocalDateTime ( )
- getDayOfMonth ( )
- getYear ( )
- getSecond ( )
- truncatedTo ( )
- toLocalDate ( )
Related Classes
- java.util.Arrays
- java.util.Collections
- java.util.Date
- java.util.concurrent.TimeUnit
- java.util.Locale
- java.util.UUID
- java.util.stream.Collectors
- java.util.Calendar
- org.junit.Assert
- java.util.Optional
- java.text.ParseException
- com.google.gson.Gson
- java.math.BigDecimal
- java.math.BigInteger
- org.apache.commons.lang3.StringUtils
- java.sql.SQLException
- java.util.TimeZone
- java.time.Instant
- java.time.Duration
- java.time.LocalDateTime
- javax.annotation.Nullable
- java.time.format.DateTimeFormatter
- java.sql.Timestamp
- java.util.concurrent.CompletableFuture
- com.fasterxml.jackson.databind.JsonNode
Java Code Examples for java.time.OffsetDateTime#toLocalTime()
The following examples show how to use
java.time.OffsetDateTime#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: TimeMapper.java From XS2A-Sandbox with Apache License 2.0 | 4 votes |
public LocalTime mapTime(OffsetDateTime time) { if (time == null) { return null; } return time.toLocalTime(); }
Example 2
Source File: DateTimeConverters.java From spring-analysis-note with MIT License | 4 votes |
@Override public LocalTime convert(OffsetDateTime source) { return source.toLocalTime(); }
Example 3
Source File: DateTimeConverters.java From java-technology-stack with MIT License | 4 votes |
@Override public LocalTime convert(OffsetDateTime source) { return source.toLocalTime(); }
Example 4
Source File: DateTimeConverters.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public LocalTime convert(OffsetDateTime source) { return source.toLocalTime(); }
Example 5
Source File: DateTimeConverters.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override public LocalTime convert(OffsetDateTime source) { return source.toLocalTime(); }