/FileExtraction/Java_unseen/asarkar_spring/salon-appointment-system/appointment-service/src/main/java/name/abhijitsarkar/javaee/salon/appointment/service/OffsetDateTimeConverter.java
package name.abhijitsarkar.javaee.salon.appointment.service;

import java.time.OffsetDateTime;

import org.springframework.core.convert.converter.Converter;

public class OffsetDateTimeConverter implements Converter<String, OffsetDateTime> {
	private final name.abhijitsarkar.javaee.salon.domain.OffsetDateTimeConverter converter = new name.abhijitsarkar.javaee.salon.domain.OffsetDateTimeConverter();

	@Override
	public OffsetDateTime convert(String dateTime) {
		return converter.parse(dateTime);
	}
}
