All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.godmonth.util.jaxb.adapters.joda.LocalTimeAdapter Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
package com.godmonth.util.jaxb.adapters.joda;

import javax.xml.bind.annotation.adapters.XmlAdapter;

import org.joda.time.LocalTime;

public class LocalTimeAdapter extends XmlAdapter {

	public LocalTime unmarshal(String v) throws Exception {
		return new LocalTime(v);
	}

	public String marshal(LocalTime v) throws Exception {
		return v.toString();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy