Giter Site home page Giter Site logo

breaking changes in 3.0.1 about ulid-creator HOT 2 CLOSED

f4b6a3 avatar f4b6a3 commented on May 27, 2024
breaking changes in 3.0.1

from ulid-creator.

Comments (2)

fabiolimace avatar fabiolimace commented on May 27, 2024 1

@nimo23 ,

The Ulid object knows how to extract the Instant. You can use ulid.getInstant() instead of ulid.getTime() to obtain a ZonedDateTime.

See this example:

    Ulid.from("0123456789ABCDEFGHJKMNPQRS").getInstant().atZone(ZoneId.systemDefault());
//  |---------------parse-----------------|-get instant-|-----get zoned date time------|

Sorry! This repository must have a changelog.

In the next version, I will create a file to list the relevant changes in this repo since its beginning.

from ulid-creator.

nimo23 avatar nimo23 commented on May 27, 2024

Ok I think reading the log is sufficient:

https://github.com/f4b6a3/ulid-creator/commits/master

It's good to have only one tiny lib, no need for additional util lib. Maybe you can include a simple classUlidUtil.class in future within the Ulid-package (for common things like UlidUtil.extractInstant()).

from ulid-creator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.