import org.softsmithy.lib.time.*;
public class DateTimeExample {
public static void main(String[] args) {
DateTimeFormatter formatter = DateTimeFormatterBuilder
.createDefaultFormatter();
LocalDateTime now = LocalDateTime.now();
String formattedDateTime = formatter.format(now);
LocalDateTime parsedDateTime = formatter.parse(formattedDateTime);
LocalDateTime futureDateTime = now.plusDays(7);
int compareResult = now.compareTo(futureDateTime);
TimeZone utcTimeZone = TimeZone.of("UTC");
LocalDateTime utcDateTime = now.toZonedDateTime(utcTimeZone).toLocalDateTime();
}
}