承接 starshums/jdejulianconverter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

MIT

统计信息

  • 总下载量: 1.68k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-21