Joda-time Study of date and time class library

Source: Internet
Author: User
Tags datetime time and date

Joda-time is a very easy-to-use, efficient class library for processing dates and times, and it's easier for a person to think than the JDK's own date/time class library.

Joda-time another date and time becomes very easy to manage, operate, and understand. The JDK and Joda-time can interoperate with each other, so there is no need to replace all of their code, only the part of the code that performs date/time calculations.





The improvements to this version relative to version 1.6 are as follows:

Improved Java memory model settings added yearmonth for credit card dates added monthday for the date of birth without year now the application can control the system clock text-based date format now supports multiple language static methods today () and parse () Monthly resolutions that are available in all major types that do not contain the year are now able to handle February 29 add static Factory method in duration Millis () in duration, a new method to get the standard time and date improvements to the invalid time zone ID for the error message support is similar to the "Europe /london "Time zone ID resolution support for time zone name resolution similar to" EST "and" British Summer "adds DATETIMEFORMATTER.WITHZONEUTC (), Datetimeformatter.parselocaldate (), Datetimeformatter.parselocaltime (), Datetimeformatter.parselocaldatetime (), Datetime.withearlieroffsetatoverlap (), Datetime.withlateroffsetatoverlap (), Datetime.withtimeatstartofday and other methods.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.