Class TimeConversionUtils (3.29.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class TimeConversionUtils
Convenience methods for conversions between java.time and org.threeten.bp
objects. This will be kept until this issue is solved.
Static Methods
toJavaTimeLocalDateTime(LocalDateTime result)
public static LocalDateTime toJavaTimeLocalDateTime(LocalDateTime result)
| Parameter |
| Name |
Description |
result |
org.threeten.bp.LocalDateTime
|
toJavaTimeLocalTime(LocalTime result)
public static LocalTime toJavaTimeLocalTime(LocalTime result)
| Parameter |
| Name |
Description |
result |
org.threeten.bp.LocalTime
|
toThreetenLocalDateTime(LocalDateTime result)
public static LocalDateTime toThreetenLocalDateTime(LocalDateTime result)
| Returns |
| Type |
Description |
org.threeten.bp.LocalDateTime |
|
toThreetenLocalTime(LocalTime result)
public static LocalTime toThreetenLocalTime(LocalTime result)
| Returns |
| Type |
Description |
org.threeten.bp.LocalTime |
|
Constructors
TimeConversionUtils()
public TimeConversionUtils()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[null,null,["Last updated 2026-06-19 UTC."],[],[]]