starshums/jdejulianconverter
最新稳定版本:v1.0
Composer 安装命令:
composer require starshums/jdejulianconverter
包简介
A Laravel library that converts a given Oracle JD Edwards Julian date to the standard Gregorian date.
关键字:
README 文档
README
A Laravel library that converts a given Oracle JD Edwards Julian date to the standard Gregorian date.
Date fields in JD Edwards are stored in the Julian format where the date format is CYYDDD
For more information on this format please visit this page
❔ Installation
Require this package in your composer.json and update composer.
composer require starshums/jdejulianconverter
and then update composer :
composer update
After updating composer, add the ServiceProvider to the providers array in config/app.php
starshums\jdejulianconverter\JDEJulianConverterServiceProvider::class,
You also need to add the alias. Add this to your aliases:
'JJC' => starshums\jdejulianconverter\JDEJulianConverter::class,
📖 Usage
$converter = new \JJC; $date = $converter->Convert(110123); // expected result : 2010-05-03
🤝 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
📃 License
统计信息
- 总下载量: 1.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-21