package fr.yunes;

import java.time.LocalDate;
import java.time.Month;

public class Date3 {
    public static void main(String [] args) {
        LocalDate naissanceKing = LocalDate.of(1935, Month.JANUARY,8);
        System.out.println("Elvis Aaron Presley est né le "+naissanceKing);
        LocalDate fifteenDaysBefore = naissanceKing.minusDays(15);
        System.out.println("Quinze jours avant c'était le "+fifteenDaysBefore);
        LocalDate twoWeeksBefore = naissanceKing.minusWeeks(2);
        System.out.println("Deux semaines avant c'était le "+twoWeeksBefore);
    }
}