mike-neck / instant Goto Github PK
View Code? Open in Web Editor NEWMake JSR310 available from terminal
License: MIT License
Make JSR310 available from terminal
License: MIT License
Formatter
Adjustment
最新バージョンと思われるv0.3.0をダウンロードして試しました。
➜ ~ ./instant --version
instant version v0.3.0
Build OS: Mac OS X, 10.15.5, x86_64
With JVM: 11.0.6(Oracle Corporation Substrate VM GraalVM 20.0.0 CE)
Powered by Picocli 4.2.0
READMEにある、日付指定の -d
オプションが利用できませんでした。
サポート外でしょうか。
➜ ~ ./instant -d 2020-08-11
Unknown options: '-d', '2020-08-11'
Usage: instant [-hV] [-a=<duration>] [-f=<format>] [-z=<timeZone>]
-a, --add, --add-duration=<duration>
Add duration to instant. The format is 'PnDTnHnMn.nS'.
The 'P' is fixed char.
The 'nD' means days.
The 'T' is fixed char required if inputting times.
The 'nH' means hours.
The 'nM' means minutes.
The 'n.nS' means seconds and fractional seconds. The
fractional seconds is optional.
default: ''(empty)
-f, --format=<format> Specifies output format. Available values are 'unix'
or DateTimeFormatter pattern. default:
uuuu-MM-dd'T'HH:mm:ss.nX
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
-z, --zone, --time-zone=<timeZone>
Specifies time-zone to show the time of instant.
Available values are integer(difference from UTC in
hours), zone ids(like PST8PDT, Asia/Tokyo).
default: null
確かにusageには出てきませんでした。
➜ ~ ./instant --help
Usage: instant [-hV] [-a=<duration>] [-f=<format>] [-z=<timeZone>]
-a, --add, --add-duration=<duration>
Add duration to instant. The format is 'PnDTnHnMn.nS'.
The 'P' is fixed char.
The 'nD' means days.
The 'T' is fixed char required if inputting times.
The 'nH' means hours.
The 'nM' means minutes.
The 'n.nS' means seconds and fractional seconds. The
fractional seconds is optional.
default: ''(empty)
-f, --format=<format> Specifies output format. Available values are 'unix'
or DateTimeFormatter pattern. default:
uuuu-MM-dd'T'HH:mm:ss.nX
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
-z, --zone, --time-zone=<timeZone>
Specifies time-zone to show the time of instant.
Available values are integer(difference from UTC in
hours), zone ids(like PST8PDT, Asia/Tokyo).
default: null
もし利用法間違ってたらご指摘ください。
Adjust release process, because release action is broken.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.