adam bien's blog

Executable Calendar and Dates For 2019 airhacks.tv Shows 📎

Dates for 2019 airhacks.tv shows are available (first Monday of the month, 6pm CET):
  • JANUARY, 7
  • FEBRUARY, 4
  • MARCH, 4
  • APRIL, 1
  • MAY, 6
  • JUNE, 3
  • JULY, 1
  • AUGUST, 5
  • SEPTEMBER, 2
  • OCTOBER, 7
  • NOVEMBER, 4
  • DECEMBER, 2

Generated with:


import java.time.DayOfWeek;
import java.time.LocalDate;
import java.time.Month;
import static java.time.temporal.TemporalAdjusters.firstInMonth;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import org.junit.jupiter.api.Test;

public class AirhacksTVDatesTest {

    @Test
    public void firstMondayOfTheMonth() {

        String firstMondayOfTheMonth = Stream.of(Month.values()).
                map(month -> LocalDate.of(2019, month, 1)).
                map(month -> month.with(firstInMonth(DayOfWeek.MONDAY))).
                map(firstMonday -> firstMonday.getMonth() + ", " + firstMonday.getDayOfMonth()).
                collect(Collectors.joining("\n"));
        System.out.println(firstMondayOfTheMonth);

    }
}

If you don't like to miss a show, subscribe to events and get notified before the show: http://www.ustream.tv/channel/adambien ("upcoming" tab, lower corner).

Ask questions during the show via twitter mentioning me: http://twitter.com/AdamBien (@AdamBien) or using the hashtag: #airhacks. You can join the Q&A session live each first Monday of month, 6 P.M at airhacks.tv or using the built-in chat: http://www.ustream.tv/channel/adambien

See you at Web, MicroProfile and Java EE Workshops at MUC Airport, particularly at the Java EE CI/CD, Testing and Quality workshop