}
}
private static void exerciseFindAppointments(YailClient client) throws InfusionsoftXmlRpcException, InfusionsoftParameterValidationException {
final InfusionsoftDateTimeService dts = new InfusionsoftDateTimeService();
final Date theStartDate = new Date();
theStartDate.setMonth(2);
theStartDate.setDate(23);
theStartDate.setHours(0);
theStartDate.setMinutes(0);
theStartDate.setSeconds(0);
final Date theEndDate = new LocalDateTime(theStartDate).plusDays(1).toDate();
final String theStartDateBinding = dts.dateAsServiceBindingValue(theStartDate, InfusionsoftDateTimeService.DateTimeBinding.Date);
final String theEndDateBinding = dts.dateAsServiceBindingValue(theEndDate, InfusionsoftDateTimeService.DateTimeBinding.DateTime);
final String today = dts.todayAsBindingValue(TimeZone.getDefault(), InfusionsoftDateTimeService.DateTimeBinding.Date);
System.out.println("Start date: " + theStartDateBinding);
System.out.println("End date: " + theEndDateBinding);
System.out.println("Today: " + today);