Java basics of the LocalDate, LocalTime, LocalDateTime, ZonedDateTime and the DateTimeFormatter

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 75

  • @idleidle3448
    @idleidle3448 2 роки тому +7

    lol. i used to struggle with dates so much. you made it so simple. thank you!

  • @tombenyon1924
    @tombenyon1924 2 роки тому +7

    Just starting my Java journey. Beautifully explained - such an approachable video. Thank you!!! 😊

    • @BrightBoost
      @BrightBoost  2 роки тому +3

      Happy to hear it helped you. Good luck on your Java journey!

  • @andythakar
    @andythakar 2 роки тому +2

    I always come back here for quick refresher before interview. Thank for making wonderful video

    • @BrightBoost
      @BrightBoost  2 роки тому

      Welcome back! And good luck on the interview 😊

  • @wagnermello229
    @wagnermello229 3 роки тому +2

    your video helped me too much I'm from brasil and I can understand you very well. your patience to explique is amazing continue it and thanks a lot. Subscribed

  • @timankov
    @timankov 2 роки тому +3

    Супер! Очень доступно обьяснили! Огромное спасибо❤️

  • @afifkhaja
    @afifkhaja Рік тому +1

    Thanks for this! You should also mention that datetimeformatter (like localdate) is immutable, meaning that the variable needs to be reassigned to update its value

  • @alexlandherr
    @alexlandherr 3 роки тому +2

    Very nice walkthrough! It helped me coming from Python.

    • @BrightBoost
      @BrightBoost  3 роки тому

      Nice to hear, Alex! Good luck with your Java journey :)

  • @stvnk1m
    @stvnk1m 3 роки тому +1

    Hi I'm Steven from Canada. Thanks for sharing this example of Java Date time API. I'm currently in Bootcamp java course. It really help me to understand to use date time API. 👌

  • @robdsew
    @robdsew 3 роки тому +2

    Thank you for making this video! It is a huge help!

    • @BrightBoost
      @BrightBoost  3 роки тому +1

      Lovely to hear! Good luck on your Java journey:)

  • @MrArteez
    @MrArteez 3 роки тому +3

    Thanks for the quick intro! I hope you will do more of these, you have a good way of explaining things. Subscribed

    • @BrightBoost
      @BrightBoost  3 роки тому

      Happy to hear it helped you. Let me know if there are any particuliar topics that you'd like

    • @MrArteez
      @MrArteez 3 роки тому +2

      @@BrightBoost An overview of multithreading in Java could be interesting to a lot of people!

    • @BrightBoost
      @BrightBoost  3 роки тому

      @@MrArteez That is a good one :)

    • @خالدالناشري-د5ز
      @خالدالناشري-د5ز 2 роки тому

      @@BrightBoost nothing there

    • @BrightBoost
      @BrightBoost  2 роки тому +1

      @@خالدالناشري-د5ز I know, I'm sorry, I'll be adding new content really soon☺

  • @vdeschuy190
    @vdeschuy190 3 роки тому +2

    Greetings from Belgium! :)

  • @born2love6
    @born2love6 3 роки тому +2

    Heel bedankt voor de super video en makkelijke uitleg. Groetjes uit engeland

  • @خالدالناشري-د5ز
    @خالدالناشري-د5ز 2 роки тому +1

    Thanks u made easier

  • @noemiethrlt3997
    @noemiethrlt3997 3 роки тому +2

    Thank you, it's really useful and you explain it clearly!! :)

    • @BrightBoost
      @BrightBoost  3 роки тому +1

      Happy to hear that Noémie! Good luck :)

  • @manishkeshari3421
    @manishkeshari3421 2 роки тому +2

    i really like your video ❤❤🎶🎶

  • @simoo7755
    @simoo7755 3 роки тому +2

    very useful tutorial!Thanks!

  • @kathrinthomsen27
    @kathrinthomsen27 2 роки тому +1

    Great video, thanks :)

  • @mayurravindra9433
    @mayurravindra9433 2 роки тому +1

    Helpful. Thanks!

  • @jedzonchiva951
    @jedzonchiva951 3 роки тому +2

    Good day! May I ask if how can I use if-statement in localtime? example, I input String (06:30) then the inputted string convert to time (LocalTime Alarm = LocalTime.parse(time);), If the time entered is past the current
    time, then display "Alarm is set for tomorrow!"; otherwise, display "I'll wake you up later!" How can I compare two local time? please help me ty

    • @BrightBoost
      @BrightBoost  2 роки тому +1

      That's actually a great suggestion for a video! You can use the compareTo method to do comparisons.

  • @chaitutom5789
    @chaitutom5789 2 роки тому +1

    Post more..on java 8 ..along with spring boot..

  • @balajishetty9162
    @balajishetty9162 2 роки тому +2

    good explanation thanks.

  • @edwardsheehan7008
    @edwardsheehan7008 11 місяців тому +1

    Thank you for the help

  • @melakudenbel7780
    @melakudenbel7780 2 роки тому +1

    Thank you Dear.

  • @cherry_5412
    @cherry_5412 2 роки тому +1

    This was very superb, Seriously I gain easily this concept! !! I have one doubt?

  • @syedhabeebuddin101
    @syedhabeebuddin101 2 роки тому +1

    thanks ma'am !

  • @thanos5420
    @thanos5420 2 роки тому +1

    Hey what if i use @jsonformat and need in mm-dd-yyyy format rather that standard yyyy-mm-dd

  • @alikalema1154
    @alikalema1154 3 роки тому +1

    great explanation

  • @vicentecamilo608
    @vicentecamilo608 Рік тому +1

    How to implement to display date and time in real time? Suppose I want to make a clock in java.

    • @BrightBoost
      @BrightBoost  Рік тому

      Well if you want to make it real time you need something extra to display it. Let's assume you want to do it all in Java, you could for example use Java Swing.
      Here's a quick (a little sloppy) example:
      github.com/BrightBoost/random-examples-java/blob/main/src/main/java/org/example/RealTimeClock.java
      Please let me know if this resembles what you meant 😊😊

  • @solobiker5235
    @solobiker5235 2 роки тому +1

    thank you.

  • @seryxano
    @seryxano 7 місяців тому

    Have we easy way for find our countries ?)

  • @lindairene-vh7nj
    @lindairene-vh7nj 6 місяців тому

    how do i locate this window on my computer as am going through nightmare

  • @imashnake_7151
    @imashnake_7151 2 роки тому +2

    Tysm! Is there any chance you could go over joda time and perhaps compare the two, a lot of projects seem to use joda time and are trying to migrate to java time.

    • @BrightBoost
      @BrightBoost  2 роки тому +1

      Thanks, that's a great suggestion for a video! I'll definitely consider it when I'm going to be creating some more content again :)

  • @OeHomestead
    @OeHomestead 2 роки тому +2

    Dates in java is still a disaster. Especially when you try to deserialize date and time from JSON :-D

    • @BrightBoost
      @BrightBoost  2 роки тому

      Dates will probably always be a bit tough. But it has been so much worse in the past (and not only in Java.. try dealing with dates in C/C++ for example).

  • @chaitutom5789
    @chaitutom5789 2 роки тому +1

    Some coding solving in sprints...

  • @mvs69
    @mvs69 2 роки тому +1

    You are gorgeous

  • @toddplum
    @toddplum 11 місяців тому +2

    How can I date a women

    • @BrightBoost
      @BrightBoost  11 місяців тому

      var toddsGf = LocalSingle.of(Gender.FEMALE, , );
      Carefully read the docs first though.

  • @KoenZyxYssel
    @KoenZyxYssel 7 місяців тому

    They gave the data object a method which takes the formatter as an arg... that offends my feng shui.

  • @cherry_5412
    @cherry_5412 2 роки тому

    Helo