How to Check Alexa Rank in Java

  • 16 November 2017
  • ADM

How to Check Alexa Rank in Java using the undocumented API: http://data.alexa.com/data?cli=10&url=domainName. The code contains also the possibility of adding proxy settings


How to calculate date/time difference in Java

  • 16 January 2017
  • ADM

How to calculate the date and time difference in Java using a simple method of division and remainder of division.


How to compare dates in Java

  • 04 February 2020
  • ADM

How to compare dates in Java using Date (compareTo, before, after, equals), Calendar(before, after, equals) and LocalDate(isBefore, isAfter, equals) classes.


How to format XMLGregorianCalendar

  • 10 May 2016
  • ADM

How to format XMLGregorianCalendar object output using SimpleDateFormat class in Java. Simple tested example.


How to get date and time in Java

  • 09 May 2016
  • ADM

How to get current date and time in a specific format using Date, Calendar and SimpleDateFormat class.