/** * Convenience method to map LocalTime to string primitive with rfc3339 format partial-time. * See https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 * * @since 2.0.6 */ public static void enablePartialTime() { customClasses().put("org.joda.time.LocalTime", PrimitiveType.PARTIAL_TIME); customClasses().put("java.time.LocalTime", PrimitiveType.PARTIAL_TIME); } }
/** * Convenience method to map LocalTime to string primitive with rfc3339 format partial-time. * See https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14 * * @since 2.0.6 */ public static void enablePartialTime() { customClasses().put("org.joda.time.LocalTime", PrimitiveType.PARTIAL_TIME); customClasses().put("java.time.LocalTime", PrimitiveType.PARTIAL_TIME); } }