Vendor lock
This commit is contained in:
3
vendor/nesbot/carbon/.github/FUNDING.yml
vendored
Normal file
3
vendor/nesbot/carbon/.github/FUNDING.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
#github: kylekatarnls, briannesbitt
|
||||
open_collective: Carbon
|
||||
tidelift: packagist/nesbot/carbon
|
69
vendor/nesbot/carbon/.github/ISSUE_TEMPLATE.md
vendored
Normal file
69
vendor/nesbot/carbon/.github/ISSUE_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
<!--
|
||||
🛑 DON'T REMOVE ME.
|
||||
This issue template apply to all
|
||||
- bug reports,
|
||||
- feature proposals,
|
||||
- and documentation requests
|
||||
|
||||
Having all those informations will allow us to know exactly
|
||||
what you expect and answer you faster and precisely (answer
|
||||
that matches your Carbon version, PHP version and usage).
|
||||
|
||||
Note: Comments between <!- - and - -> won't appear in the final
|
||||
issue (See [Preview] tab).
|
||||
-->
|
||||
Hello,
|
||||
|
||||
I encountered an issue with the following code:
|
||||
```php
|
||||
echo Carbon::parse('2018-06-01')->subDay()->month;
|
||||
```
|
||||
|
||||
Carbon version: **PUT HERE YOUR CARBON VERSION (exact version, not the range)**
|
||||
|
||||
PHP version: **PUT HERE YOUR PHP VERSION**
|
||||
|
||||
<!--
|
||||
Run the command `composer show nesbot/carbon`
|
||||
to get "versions"
|
||||
Use `echo phpversion();`
|
||||
to get PHP version.
|
||||
|
||||
Some issues can depends on your context, settings,
|
||||
macros, timezone, language. So to be sure the code
|
||||
you give is enough to reproduce your bug, try it
|
||||
first in:
|
||||
https://try-carbon.herokuapp.com/?theme=xcode&export&embed
|
||||
|
||||
You can use the [Options] button to change the version
|
||||
then when you get the bug with this editor, you can use
|
||||
the [Export] button, copy the link of the opened tab,
|
||||
then paste it in the issue. Then we can immediatly get
|
||||
your issue.
|
||||
-->
|
||||
|
||||
|
||||
I expected to get:
|
||||
|
||||
```
|
||||
6
|
||||
```
|
||||
<!--
|
||||
Always give your expectations. Each use has their owns.
|
||||
You may want daylight saving time to be taken into account,
|
||||
someone else want it to be ignored. You may want timezone
|
||||
to be used in comparisons, someone else may not, etc.
|
||||
-->
|
||||
|
||||
But I actually get:
|
||||
|
||||
```
|
||||
5
|
||||
```
|
||||
<!--
|
||||
If you did not succeed to get the same result in
|
||||
https://try-carbon.herokuapp.com/ then precise the
|
||||
result you get.
|
||||
-->
|
||||
|
||||
Thanks!
|
6
vendor/nesbot/carbon/.multi-tester.yml
vendored
Normal file
6
vendor/nesbot/carbon/.multi-tester.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
laravel/framework:
|
||||
source:
|
||||
type: git
|
||||
url: https://github.com/laravel/framework.git
|
||||
reference: master
|
||||
install: composer update --prefer-dist --no-interaction --prefer-stable --no-suggest
|
19
vendor/nesbot/carbon/LICENSE
vendored
Normal file
19
vendor/nesbot/carbon/LICENSE
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
Copyright (C) Brian Nesbitt
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is furnished
|
||||
to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
21
vendor/nesbot/carbon/bin/carbon
vendored
Executable file
21
vendor/nesbot/carbon/bin/carbon
vendored
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
|
||||
$dir = __DIR__.'/..';
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../vendor';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
$dir = __DIR__.'/../../..';
|
||||
}
|
||||
|
||||
if (!file_exists($dir.'/autoload.php')) {
|
||||
echo 'Autoload not found.';
|
||||
exit(1);
|
||||
}
|
||||
|
||||
require $dir.'/autoload.php';
|
||||
|
||||
exit((new \Carbon\Cli\Invoker())(...$argv) ? 0 : 1);
|
4
vendor/nesbot/carbon/bin/carbon.bat
vendored
Normal file
4
vendor/nesbot/carbon/bin/carbon.bat
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
@ECHO OFF
|
||||
setlocal DISABLEDELAYEDEXPANSION
|
||||
SET BIN_TARGET=%~dp0/carbon
|
||||
php "%BIN_TARGET%" %*
|
84
vendor/nesbot/carbon/composer.json
vendored
Normal file
84
vendor/nesbot/carbon/composer.json
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
{
|
||||
"name": "nesbot/carbon",
|
||||
"type": "library",
|
||||
"description": "An API extension for DateTime that supports 281 different languages.",
|
||||
"keywords": [
|
||||
"date",
|
||||
"time",
|
||||
"DateTime"
|
||||
],
|
||||
"homepage": "http://carbon.nesbot.com",
|
||||
"support": {
|
||||
"issues": "https://github.com/briannesbitt/Carbon/issues",
|
||||
"source": "https://github.com/briannesbitt/Carbon"
|
||||
},
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Brian Nesbitt",
|
||||
"email": "brian@nesbot.com",
|
||||
"homepage": "http://nesbot.com"
|
||||
},
|
||||
{
|
||||
"name": "kylekatarnls",
|
||||
"homepage": "http://github.com/kylekatarnls"
|
||||
}
|
||||
],
|
||||
"prefer-stable": true,
|
||||
"minimum-stability": "dev",
|
||||
"bin": ["bin/carbon"],
|
||||
"require": {
|
||||
"php": "^7.1.8 || ^8.0",
|
||||
"ext-json": "*",
|
||||
"symfony/translation": "^3.4 || ^4.0 || ^5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"doctrine/orm": "^2.7",
|
||||
"friendsofphp/php-cs-fixer": "^2.14 || ^3.0",
|
||||
"kylekatarnls/multi-tester": "^1.1",
|
||||
"phpmd/phpmd": "^2.8",
|
||||
"phpstan/phpstan": "^0.11",
|
||||
"phpunit/phpunit": "^7.5 || ^8.0",
|
||||
"squizlabs/php_codesniffer": "^3.4"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Carbon\\": "src/Carbon/"
|
||||
}
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 0,
|
||||
"sort-packages": true
|
||||
},
|
||||
"scripts": {
|
||||
"test": [
|
||||
"@phpunit",
|
||||
"@style-check"
|
||||
],
|
||||
"style-check": [
|
||||
"@phpcs",
|
||||
"@phpstan",
|
||||
"@phpmd"
|
||||
],
|
||||
"phpunit": "phpunit --verbose",
|
||||
"phpcs": "php-cs-fixer fix -v --diff --dry-run",
|
||||
"phpstan": "phpstan analyse --configuration phpstan.neon --level 3 src tests",
|
||||
"phpmd": "phpmd src text /phpmd.xml",
|
||||
"phpdoc": "php phpdoc.php"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.x-dev"
|
||||
},
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Carbon\\Laravel\\ServiceProvider"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
154
vendor/nesbot/carbon/contributing.md
vendored
Normal file
154
vendor/nesbot/carbon/contributing.md
vendored
Normal file
@ -0,0 +1,154 @@
|
||||
# Contributing to Carbon
|
||||
|
||||
## Issue Contributions
|
||||
|
||||
Please report any security issue using [Tidelift security contact](https://tidelift.com/security).
|
||||
Tidelift will coordinate the fix and disclosure.
|
||||
Please don't disclose security bugs publicly until they have been handled by us.
|
||||
|
||||
For any other bug or issue, please click this link and follow the template:
|
||||
[Create new issue](https://github.com/briannesbitt/Carbon/issues/new)
|
||||
|
||||
You may think this template does not apply to your case but please think again. A long description will never be as
|
||||
clear as a code chunk with the output you expect from it (for either bug report or new features).
|
||||
|
||||
## Code Contributions
|
||||
|
||||
### Where to begin
|
||||
|
||||
We use the label **good first issue** to tag issues that could be a good fit for new contributors, see if there are such issues now following this link:
|
||||
|
||||
https://github.com/briannesbitt/Carbon/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22
|
||||
|
||||
Else, check the roadmap to see what we plan to do in next releases:
|
||||
|
||||
https://github.com/briannesbitt/Carbon/issues/1681
|
||||
|
||||
### Develop locally, then submit changes
|
||||
|
||||
Fork the [GitHub project](https://github.com/briannesbitt/Carbon) and download it locally:
|
||||
|
||||
```shell
|
||||
git clone https://github.com/<username>/Carbon.git
|
||||
cd Carbon
|
||||
git remote add upstream https://github.com/briannesbitt/Carbon.git
|
||||
```
|
||||
Replace `<username>` with your GitHub username.
|
||||
|
||||
Then, you can work on the master or create a specific branch for your development:
|
||||
|
||||
```shell
|
||||
git checkout -b my-feature-branch -t origin/master
|
||||
```
|
||||
|
||||
You can now edit the "Carbon" directory contents.
|
||||
|
||||
Before committing, please set your name and your e-mail (use the same e-mail address as in your GitHub account):
|
||||
|
||||
```shell
|
||||
git config --global user.name "Your Name"
|
||||
git config --global user.email "your.email.address@example.com"
|
||||
```
|
||||
|
||||
The ```--global``` argument will apply this setting for all your git repositories, remove it to set only your Carbon
|
||||
fork with those settings.
|
||||
|
||||
Now you can commit your modifications as you usually do with git:
|
||||
|
||||
```shell
|
||||
git add --all
|
||||
git commit -m "The commit message log"
|
||||
```
|
||||
|
||||
If your patch fixes an open issue, please insert ```#``` immediately followed by the issue number:
|
||||
|
||||
```shell
|
||||
git commit -m "#21 Fix this or that"
|
||||
```
|
||||
|
||||
Use git rebase (not git merge) to sync your work from time to time:
|
||||
|
||||
```shell
|
||||
git fetch origin
|
||||
git rebase origin/master
|
||||
```
|
||||
|
||||
Please add some tests for bug fixes and features (so it will ensure next developments will not break your code),
|
||||
then check all is right with phpunit:
|
||||
|
||||
Install PHP if you haven't yet, then install composer:
|
||||
https://getcomposer.org/download/
|
||||
|
||||
Update dependencies:
|
||||
```
|
||||
./composer.phar update
|
||||
```
|
||||
|
||||
Or if you installed composer globally:
|
||||
```
|
||||
composer update
|
||||
```
|
||||
|
||||
Then call phpunit:
|
||||
```
|
||||
./vendor/bin/phpunit
|
||||
```
|
||||
|
||||
Make sure all tests succeed before submitting your pull-request, else we will not be able to merge it.
|
||||
|
||||
Push your work on your remote GitHub fork with:
|
||||
```
|
||||
git push origin my-feature-branch
|
||||
```
|
||||
|
||||
Go to https://github.com/yourusername/Carbon and select your feature branch. Click the 'Pull Request' button and fill
|
||||
out the form.
|
||||
|
||||
We will review it within a few days. And we thank you in advance for your help.
|
||||
|
||||
## Versioning
|
||||
|
||||
### Note about Semantic Versioning and breaking changes
|
||||
|
||||
As a developer, you must understand every change is a breaking change. What is a bug for someone
|
||||
is expected in someone else's workflow. The consequence of a change strongly depends on the usage.
|
||||
[Semantic Versioning](https://semver.org/) relies to public API. In PHP, the public API of a class is its public
|
||||
methods. However, if you extend a class, you can access protected methods, then if you use reflexion, you can
|
||||
access private methods. So anything can become a public API if you force it to be. That doesn't mean we should handle
|
||||
any possible usage, else we would have to publish a major release for each change and it would no longer make sense.
|
||||
|
||||
So before any complain about a breaking change, be warned, we do not guarantee a strict Semantic Versioning as you
|
||||
may expect, we're following a pragmatic interpretation of Semantic Versioning that allows the software to evolve in a
|
||||
reliable way with reasonable maintenance effort.
|
||||
|
||||
Concretely, we consider a change as breaking if it makes fail one of our unit test. We will do our best to avoid
|
||||
incompatibilities with libraries that extends Carbon classes (such as Laravel that is continuously tested thanks to
|
||||
Travis CI, [see the compatibility matrix](https://github.com/kylekatarnls/carbon-laravel/tree/master#carbon-1-dev-version-1next)).
|
||||
|
||||
If you're the owner of a library that strongly depends on Carbon, we recommend you to run unit tests daily requiring
|
||||
`"nesbot/carbon": "dev-master"` (for `^2`) or `"nesbot/carbon": "dev-version-1.next"` (for `^1`), this way you can
|
||||
detect incompatibilities earlier and report it to us before we tag a release. We'll pay attention and try to fix it to
|
||||
make update to next minor releases as soft as possible.
|
||||
|
||||
We reserve the right to publish emergency patches within 24 hours after a release if a tag that does not respect
|
||||
this pattern would have been released despite our vigilance. In this very rare and particular case, we would mark the
|
||||
tag as broken on GitHub and backward compatibility would be based on previous stable tag.
|
||||
|
||||
Last, you must understand that Carbon extends PHP natives classes, that means Carbon can be impacted by any change
|
||||
that occurs in the date/time API of PHP. We watch new PHP versions and handle those changes as quickly as possible
|
||||
when detected, but as PHP does not follow the semantic versioning pattern, it basically means any releases (including
|
||||
patches) can have unexpected consequences on Carbon methods results.
|
||||
|
||||
### Long term support
|
||||
|
||||
To benefit the better support, require Carbon using major version range (`^1` or `^2`). By requiring `1.26.*`,
|
||||
`~1.26.0` or limited range such as `>=1.20 <1.33`, you fall to low priority support (only security and critical issues
|
||||
will be fixed), our prior support goes to next minor releases of each major version. It applies to bug fixes and
|
||||
low-cost features. Other new features will only be added in the last stable release. At the opposite, we recommend you
|
||||
to restrain to a major number, as there is no compatibility guarantee from a major version to the next. It means
|
||||
requiring `>=2`, as it allows any newer version, will probably leads to errors on releasing our next major version.
|
||||
|
||||
Open milestones can be patched if a minor bug is detected while if you're on a closed milestone, we'll more likely
|
||||
ask you to update first to an open one. See currently open milestones:
|
||||
|
||||
https://github.com/briannesbitt/Carbon/milestones
|
45
vendor/nesbot/carbon/phpmd.xml
vendored
Normal file
45
vendor/nesbot/carbon/phpmd.xml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0"?>
|
||||
<ruleset name="Mess detection rules for Carbon"
|
||||
xmlns="http://pmd.sf.net/ruleset/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd"
|
||||
xsi:noNamespaceSchemaLocation="
|
||||
http://pmd.sf.net/ruleset_xml_schema.xsd">
|
||||
<description>
|
||||
Mess detection rules for Carbon
|
||||
</description>
|
||||
<rule ref="rulesets/codesize.xml">
|
||||
<exclude name="CyclomaticComplexity" />
|
||||
<exclude name="NPathComplexity" />
|
||||
<exclude name="ExcessiveMethodLength" />
|
||||
<exclude name="ExcessiveClassLength" />
|
||||
<exclude name="ExcessivePublicCount" />
|
||||
<exclude name="TooManyMethods" />
|
||||
<exclude name="TooManyPublicMethods" />
|
||||
<exclude name="ExcessiveClassComplexity" />
|
||||
</rule>
|
||||
<rule ref="rulesets/cleancode.xml">
|
||||
<exclude name="BooleanArgumentFlag" />
|
||||
<exclude name="StaticAccess" />
|
||||
<exclude name="IfStatementAssignment" />
|
||||
<exclude name="UndefinedVariable" />
|
||||
</rule>
|
||||
<rule ref="rulesets/controversial.xml" />
|
||||
<rule ref="rulesets/design.xml">
|
||||
<exclude name="EvalExpression" />
|
||||
<exclude name="CouplingBetweenObjects" />
|
||||
<exclude name="CountInLoopExpression" />
|
||||
</rule>
|
||||
<rule ref="rulesets/design.xml/CouplingBetweenObjects">
|
||||
<properties>
|
||||
<property name="maximum" value="20" />
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="rulesets/naming.xml/ShortVariable">
|
||||
<properties>
|
||||
<property name="exceptions" value="ci,id,to,tz" />
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="rulesets/unusedcode.xml" />
|
||||
</ruleset>
|
133
vendor/nesbot/carbon/readme.md
vendored
Normal file
133
vendor/nesbot/carbon/readme.md
vendored
Normal file
@ -0,0 +1,133 @@
|
||||
# Carbon
|
||||
|
||||
[](https://packagist.org/packages/nesbot/carbon)
|
||||
[](https://packagist.org/packages/nesbot/carbon)
|
||||
[](https://travis-ci.org/briannesbitt/Carbon)
|
||||
[](https://styleci.io/repos/5724990)
|
||||
[](https://codecov.io/github/briannesbitt/Carbon?branch=master)
|
||||
[](https://github.com/phpstan/phpstan)
|
||||
[](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme)
|
||||
|
||||
An international PHP extension for DateTime. [http://carbon.nesbot.com](http://carbon.nesbot.com)
|
||||
|
||||
```php
|
||||
use Carbon\Carbon;
|
||||
|
||||
printf("Right now is %s", Carbon::now()->toDateTimeString());
|
||||
printf("Right now in Vancouver is %s", Carbon::now('America/Vancouver')); //implicit __toString()
|
||||
$tomorrow = Carbon::now()->addDay();
|
||||
$lastWeek = Carbon::now()->subWeek();
|
||||
$nextSummerOlympics = Carbon::createFromDate(2016)->addYears(4);
|
||||
|
||||
$officialDate = Carbon::now()->toRfc2822String();
|
||||
|
||||
$howOldAmI = Carbon::createFromDate(1975, 5, 21)->age;
|
||||
|
||||
$noonTodayLondonTime = Carbon::createFromTime(12, 0, 0, 'Europe/London');
|
||||
|
||||
$internetWillBlowUpOn = Carbon::create(2038, 01, 19, 3, 14, 7, 'GMT');
|
||||
|
||||
// Don't really want this to happen so mock now
|
||||
Carbon::setTestNow(Carbon::createFromDate(2000, 1, 1));
|
||||
|
||||
// comparisons are always done in UTC
|
||||
if (Carbon::now()->gte($internetWillBlowUpOn)) {
|
||||
die();
|
||||
}
|
||||
|
||||
// Phew! Return to normal behaviour
|
||||
Carbon::setTestNow();
|
||||
|
||||
if (Carbon::now()->isWeekend()) {
|
||||
echo 'Party!';
|
||||
}
|
||||
// Over 200 languages (and over 500 regional variants) supported:
|
||||
echo Carbon::now()->subMinutes(2)->diffForHumans(); // '2 minutes ago'
|
||||
echo Carbon::now()->subMinutes(2)->locale('zh_CN')->diffForHumans(); // '2分钟前'
|
||||
echo Carbon::parse('2019-07-23 14:51')->isoFormat('LLLL'); // 'Tuesday, July 23, 2019 2:51 PM'
|
||||
echo Carbon::parse('2019-07-23 14:51')->locale('fr_FR')->isoFormat('LLLL'); // 'mardi 23 juillet 2019 14:51'
|
||||
|
||||
// ... but also does 'from now', 'after' and 'before'
|
||||
// rolling up to seconds, minutes, hours, days, months, years
|
||||
|
||||
$daysSinceEpoch = Carbon::createFromTimestamp(0)->diffInDays();
|
||||
```
|
||||
|
||||
[Get supported nesbot/carbon with the Tidelift Subscription](https://tidelift.com/subscription/pkg/packagist-nesbot-carbon?utm_source=packagist-nesbot-carbon&utm_medium=referral&utm_campaign=readme)
|
||||
|
||||
## Installation
|
||||
|
||||
### With Composer
|
||||
|
||||
```
|
||||
$ composer require nesbot/carbon
|
||||
```
|
||||
|
||||
```json
|
||||
{
|
||||
"require": {
|
||||
"nesbot/carbon": "^2.16"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```php
|
||||
<?php
|
||||
require 'vendor/autoload.php';
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
printf("Now: %s", Carbon::now());
|
||||
```
|
||||
|
||||
<a name="install-nocomposer"/>
|
||||
|
||||
### Without Composer
|
||||
|
||||
Why are you not using [composer](http://getcomposer.org/)? Download the Carbon [latest release](https://github.com/briannesbitt/Carbon/releases) and put the contents of the ZIP archive into a directory in your project. Then require the file `autoload.php` to get all classes and dependencies loaded on need.
|
||||
|
||||
```php
|
||||
<?php
|
||||
require 'path-to-Carbon-directory/autoload.php';
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
||||
printf("Now: %s", Carbon::now());
|
||||
```
|
||||
|
||||
## Docs
|
||||
|
||||
[http://carbon.nesbot.com/docs](http://carbon.nesbot.com/docs)
|
||||
|
||||
## Security contact information
|
||||
|
||||
To report a security vulnerability, please use the
|
||||
[Tidelift security contact](https://tidelift.com/security).
|
||||
Tidelift will coordinate the fix and disclosure.
|
||||
|
||||
## Credits
|
||||
|
||||
### Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute.
|
||||
|
||||
<a href="https://github.com/briannesbitt/Carbon/graphs/contributors" target="_blank"><img src="https://opencollective.com/Carbon/contributors.svg?width=890&button=false" /></a>
|
||||
|
||||
### Translators
|
||||
|
||||
[Thanks to people helping us to translate Carbon in so many languages](https://carbon.nesbot.com/contribute/translators/)
|
||||
|
||||
### Backers
|
||||
|
||||
Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/Carbon#backer)]
|
||||
|
||||
<a href="https://opencollective.com/Carbon#backers" target="_blank"><img src="https://opencollective.com/Carbon/backers.svg?width=890"></a>
|
||||
|
||||
### Sponsors
|
||||
|
||||
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/Carbon#sponsor)]
|
||||
<a href="https://opencollective.com/Carbon/sponsor/0/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/0/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/Carbon/sponsor/1/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/1/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/Carbon/sponsor/2/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/2/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/Carbon/sponsor/3/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/3/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/Carbon/sponsor/4/website" target="_blank"><img src="https://opencollective.com/Carbon/sponsor/4/avatar.svg"></a>
|
522
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
Normal file
522
vendor/nesbot/carbon/src/Carbon/Carbon.php
vendored
Normal file
@ -0,0 +1,522 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon;
|
||||
|
||||
use Carbon\Traits\Date;
|
||||
use DateTime;
|
||||
|
||||
/**
|
||||
* A simple API extension for DateTime.
|
||||
*
|
||||
* <autodoc generated by `composer phpdoc`>
|
||||
*
|
||||
* @property int $year
|
||||
* @property int $yearIso
|
||||
* @property int $month
|
||||
* @property int $day
|
||||
* @property int $hour
|
||||
* @property int $minute
|
||||
* @property int $second
|
||||
* @property int $micro
|
||||
* @property int $microsecond
|
||||
* @property int $timestamp seconds since the Unix Epoch
|
||||
* @property string $englishDayOfWeek the day of week in English
|
||||
* @property string $shortEnglishDayOfWeek the abbreviated day of week in English
|
||||
* @property string $englishMonth the month in English
|
||||
* @property string $shortEnglishMonth the abbreviated month in English
|
||||
* @property string $localeDayOfWeek the day of week in current locale LC_TIME
|
||||
* @property string $shortLocaleDayOfWeek the abbreviated day of week in current locale LC_TIME
|
||||
* @property string $localeMonth the month in current locale LC_TIME
|
||||
* @property string $shortLocaleMonth the abbreviated month in current locale LC_TIME
|
||||
* @property int $milliseconds
|
||||
* @property int $millisecond
|
||||
* @property int $milli
|
||||
* @property int $week 1 through 53
|
||||
* @property int $isoWeek 1 through 53
|
||||
* @property int $weekYear year according to week format
|
||||
* @property int $isoWeekYear year according to ISO week format
|
||||
* @property int $dayOfYear 1 through 366
|
||||
* @property int $age does a diffInYears() with default parameters
|
||||
* @property int $offset the timezone offset in seconds from UTC
|
||||
* @property int $offsetMinutes the timezone offset in minutes from UTC
|
||||
* @property int $offsetHours the timezone offset in hours from UTC
|
||||
* @property CarbonTimeZone $timezone the current timezone
|
||||
* @property CarbonTimeZone $tz alias of $timezone
|
||||
* @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
|
||||
* @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
|
||||
* @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
|
||||
* @property-read int $daysInMonth number of days in the given month
|
||||
* @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
|
||||
* @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
|
||||
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
|
||||
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
|
||||
* @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
|
||||
* @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
|
||||
* @property-read int $noZeroHour current hour from 1 to 24
|
||||
* @property-read int $weeksInYear 51 through 53
|
||||
* @property-read int $isoWeeksInYear 51 through 53
|
||||
* @property-read int $weekOfMonth 1 through 5
|
||||
* @property-read int $weekNumberInMonth 1 through 5
|
||||
* @property-read int $firstWeekDay 0 through 6
|
||||
* @property-read int $lastWeekDay 0 through 6
|
||||
* @property-read int $daysInYear 365 or 366
|
||||
* @property-read int $quarter the quarter of this instance, 1 - 4
|
||||
* @property-read int $decade the decade of this instance
|
||||
* @property-read int $century the century of this instance
|
||||
* @property-read int $millennium the millennium of this instance
|
||||
* @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
|
||||
* @property-read bool $local checks if the timezone is local, true if local, false otherwise
|
||||
* @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
|
||||
* @property-read string $timezoneName the current timezone name
|
||||
* @property-read string $tzName alias of $timezoneName
|
||||
* @property-read string $locale locale of the current instance
|
||||
*
|
||||
* @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
|
||||
* @method bool isLocal() Check if the current instance has non-UTC timezone.
|
||||
* @method bool isValid() Check if the current instance is a valid date.
|
||||
* @method bool isDST() Check if the current instance is in a daylight saving time.
|
||||
* @method bool isSunday() Checks if the instance day is sunday.
|
||||
* @method bool isMonday() Checks if the instance day is monday.
|
||||
* @method bool isTuesday() Checks if the instance day is tuesday.
|
||||
* @method bool isWednesday() Checks if the instance day is wednesday.
|
||||
* @method bool isThursday() Checks if the instance day is thursday.
|
||||
* @method bool isFriday() Checks if the instance day is friday.
|
||||
* @method bool isSaturday() Checks if the instance day is saturday.
|
||||
* @method bool isSameYear(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
|
||||
* @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
|
||||
* @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
|
||||
* @method bool isSameWeek(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
|
||||
* @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
|
||||
* @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
|
||||
* @method bool isSameDay(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
|
||||
* @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
|
||||
* @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
|
||||
* @method bool isSameHour(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
|
||||
* @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
|
||||
* @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
|
||||
* @method bool isSameMinute(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
|
||||
* @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
|
||||
* @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
|
||||
* @method bool isSameSecond(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
|
||||
* @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
|
||||
* @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
|
||||
* @method bool isSameMicro(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
|
||||
* @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
|
||||
* @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
|
||||
* @method bool isSameMicrosecond(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
|
||||
* @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
|
||||
* @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
|
||||
* @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
|
||||
* @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
|
||||
* @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
|
||||
* @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
|
||||
* @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
|
||||
* @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
|
||||
* @method bool isSameDecade(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
|
||||
* @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
|
||||
* @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
|
||||
* @method bool isSameCentury(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
|
||||
* @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
|
||||
* @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
|
||||
* @method bool isSameMillennium(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
|
||||
* @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
|
||||
* @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
|
||||
* @method Carbon years(int $value) Set current instance year to the given value.
|
||||
* @method Carbon year(int $value) Set current instance year to the given value.
|
||||
* @method Carbon setYears(int $value) Set current instance year to the given value.
|
||||
* @method Carbon setYear(int $value) Set current instance year to the given value.
|
||||
* @method Carbon months(int $value) Set current instance month to the given value.
|
||||
* @method Carbon month(int $value) Set current instance month to the given value.
|
||||
* @method Carbon setMonths(int $value) Set current instance month to the given value.
|
||||
* @method Carbon setMonth(int $value) Set current instance month to the given value.
|
||||
* @method Carbon days(int $value) Set current instance day to the given value.
|
||||
* @method Carbon day(int $value) Set current instance day to the given value.
|
||||
* @method Carbon setDays(int $value) Set current instance day to the given value.
|
||||
* @method Carbon setDay(int $value) Set current instance day to the given value.
|
||||
* @method Carbon hours(int $value) Set current instance hour to the given value.
|
||||
* @method Carbon hour(int $value) Set current instance hour to the given value.
|
||||
* @method Carbon setHours(int $value) Set current instance hour to the given value.
|
||||
* @method Carbon setHour(int $value) Set current instance hour to the given value.
|
||||
* @method Carbon minutes(int $value) Set current instance minute to the given value.
|
||||
* @method Carbon minute(int $value) Set current instance minute to the given value.
|
||||
* @method Carbon setMinutes(int $value) Set current instance minute to the given value.
|
||||
* @method Carbon setMinute(int $value) Set current instance minute to the given value.
|
||||
* @method Carbon seconds(int $value) Set current instance second to the given value.
|
||||
* @method Carbon second(int $value) Set current instance second to the given value.
|
||||
* @method Carbon setSeconds(int $value) Set current instance second to the given value.
|
||||
* @method Carbon setSecond(int $value) Set current instance second to the given value.
|
||||
* @method Carbon millis(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon milli(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon setMillis(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon setMilli(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon milliseconds(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon millisecond(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon setMilliseconds(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon setMillisecond(int $value) Set current instance millisecond to the given value.
|
||||
* @method Carbon micros(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon micro(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon setMicros(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon setMicro(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon microseconds(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon microsecond(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon setMicroseconds(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon setMicrosecond(int $value) Set current instance microsecond to the given value.
|
||||
* @method Carbon addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addYear() Add one year to the instance (using date interval).
|
||||
* @method Carbon subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subYear() Sub one year to the instance (using date interval).
|
||||
* @method Carbon addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMonth() Add one month to the instance (using date interval).
|
||||
* @method Carbon subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMonth() Sub one month to the instance (using date interval).
|
||||
* @method Carbon addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addDay() Add one day to the instance (using date interval).
|
||||
* @method Carbon subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subDay() Sub one day to the instance (using date interval).
|
||||
* @method Carbon addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addHour() Add one hour to the instance (using date interval).
|
||||
* @method Carbon subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subHour() Sub one hour to the instance (using date interval).
|
||||
* @method Carbon addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMinute() Add one minute to the instance (using date interval).
|
||||
* @method Carbon subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMinute() Sub one minute to the instance (using date interval).
|
||||
* @method Carbon addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addSecond() Add one second to the instance (using date interval).
|
||||
* @method Carbon subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subSecond() Sub one second to the instance (using date interval).
|
||||
* @method Carbon addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMilli() Add one millisecond to the instance (using date interval).
|
||||
* @method Carbon subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMilli() Sub one millisecond to the instance (using date interval).
|
||||
* @method Carbon addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMillisecond() Add one millisecond to the instance (using date interval).
|
||||
* @method Carbon subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMillisecond() Sub one millisecond to the instance (using date interval).
|
||||
* @method Carbon addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMicro() Add one microsecond to the instance (using date interval).
|
||||
* @method Carbon subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMicro() Sub one microsecond to the instance (using date interval).
|
||||
* @method Carbon addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMicrosecond() Add one microsecond to the instance (using date interval).
|
||||
* @method Carbon subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMicrosecond() Sub one microsecond to the instance (using date interval).
|
||||
* @method Carbon addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addMillennium() Add one millennium to the instance (using date interval).
|
||||
* @method Carbon subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subMillennium() Sub one millennium to the instance (using date interval).
|
||||
* @method Carbon addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addCentury() Add one century to the instance (using date interval).
|
||||
* @method Carbon subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subCentury() Sub one century to the instance (using date interval).
|
||||
* @method Carbon addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addDecade() Add one decade to the instance (using date interval).
|
||||
* @method Carbon subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subDecade() Sub one decade to the instance (using date interval).
|
||||
* @method Carbon addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addQuarter() Add one quarter to the instance (using date interval).
|
||||
* @method Carbon subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subQuarter() Sub one quarter to the instance (using date interval).
|
||||
* @method Carbon addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method Carbon addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method Carbon addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addWeek() Add one week to the instance (using date interval).
|
||||
* @method Carbon subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subWeek() Sub one week to the instance (using date interval).
|
||||
* @method Carbon addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon addWeekday() Add one weekday to the instance (using date interval).
|
||||
* @method Carbon subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
|
||||
* @method Carbon subWeekday() Sub one weekday to the instance (using date interval).
|
||||
* @method Carbon addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMicro() Add one microsecond to the instance (using timestamp).
|
||||
* @method Carbon subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMicro() Sub one microsecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
|
||||
* @method Carbon addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMicrosecond() Add one microsecond to the instance (using timestamp).
|
||||
* @method Carbon subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
|
||||
* @method Carbon addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMilli() Add one millisecond to the instance (using timestamp).
|
||||
* @method Carbon subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMilli() Sub one millisecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
|
||||
* @method Carbon addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMillisecond() Add one millisecond to the instance (using timestamp).
|
||||
* @method Carbon subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMillisecond() Sub one millisecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
|
||||
* @method Carbon addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealSecond() Add one second to the instance (using timestamp).
|
||||
* @method Carbon subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealSecond() Sub one second to the instance (using timestamp).
|
||||
* @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
|
||||
* @method Carbon addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMinute() Add one minute to the instance (using timestamp).
|
||||
* @method Carbon subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMinute() Sub one minute to the instance (using timestamp).
|
||||
* @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
|
||||
* @method Carbon addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealHour() Add one hour to the instance (using timestamp).
|
||||
* @method Carbon subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealHour() Sub one hour to the instance (using timestamp).
|
||||
* @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
|
||||
* @method Carbon addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealDay() Add one day to the instance (using timestamp).
|
||||
* @method Carbon subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealDay() Sub one day to the instance (using timestamp).
|
||||
* @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
|
||||
* @method Carbon addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealWeek() Add one week to the instance (using timestamp).
|
||||
* @method Carbon subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealWeek() Sub one week to the instance (using timestamp).
|
||||
* @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
|
||||
* @method Carbon addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMonth() Add one month to the instance (using timestamp).
|
||||
* @method Carbon subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMonth() Sub one month to the instance (using timestamp).
|
||||
* @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
|
||||
* @method Carbon addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealQuarter() Add one quarter to the instance (using timestamp).
|
||||
* @method Carbon subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealQuarter() Sub one quarter to the instance (using timestamp).
|
||||
* @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
|
||||
* @method Carbon addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealYear() Add one year to the instance (using timestamp).
|
||||
* @method Carbon subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealYear() Sub one year to the instance (using timestamp).
|
||||
* @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
|
||||
* @method Carbon addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealDecade() Add one decade to the instance (using timestamp).
|
||||
* @method Carbon subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealDecade() Sub one decade to the instance (using timestamp).
|
||||
* @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
|
||||
* @method Carbon addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealCentury() Add one century to the instance (using timestamp).
|
||||
* @method Carbon subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealCentury() Sub one century to the instance (using timestamp).
|
||||
* @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
|
||||
* @method Carbon addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon addRealMillennium() Add one millennium to the instance (using timestamp).
|
||||
* @method Carbon subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
|
||||
* @method Carbon subRealMillennium() Sub one millennium to the instance (using timestamp).
|
||||
* @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
|
||||
* @method Carbon roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
|
||||
* @method Carbon roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
|
||||
* @method Carbon floorYear(float $precision = 1) Truncate the current instance year with given precision.
|
||||
* @method Carbon floorYears(float $precision = 1) Truncate the current instance year with given precision.
|
||||
* @method Carbon ceilYear(float $precision = 1) Ceil the current instance year with given precision.
|
||||
* @method Carbon ceilYears(float $precision = 1) Ceil the current instance year with given precision.
|
||||
* @method Carbon roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
|
||||
* @method Carbon roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
|
||||
* @method Carbon floorMonth(float $precision = 1) Truncate the current instance month with given precision.
|
||||
* @method Carbon floorMonths(float $precision = 1) Truncate the current instance month with given precision.
|
||||
* @method Carbon ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
|
||||
* @method Carbon ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
|
||||
* @method Carbon roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
|
||||
* @method Carbon roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
|
||||
* @method Carbon floorDay(float $precision = 1) Truncate the current instance day with given precision.
|
||||
* @method Carbon floorDays(float $precision = 1) Truncate the current instance day with given precision.
|
||||
* @method Carbon ceilDay(float $precision = 1) Ceil the current instance day with given precision.
|
||||
* @method Carbon ceilDays(float $precision = 1) Ceil the current instance day with given precision.
|
||||
* @method Carbon roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
|
||||
* @method Carbon roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
|
||||
* @method Carbon floorHour(float $precision = 1) Truncate the current instance hour with given precision.
|
||||
* @method Carbon floorHours(float $precision = 1) Truncate the current instance hour with given precision.
|
||||
* @method Carbon ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
|
||||
* @method Carbon ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
|
||||
* @method Carbon roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
|
||||
* @method Carbon roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
|
||||
* @method Carbon floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
|
||||
* @method Carbon floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
|
||||
* @method Carbon ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
|
||||
* @method Carbon ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
|
||||
* @method Carbon roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
|
||||
* @method Carbon roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
|
||||
* @method Carbon floorSecond(float $precision = 1) Truncate the current instance second with given precision.
|
||||
* @method Carbon floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
|
||||
* @method Carbon ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
|
||||
* @method Carbon ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
|
||||
* @method Carbon roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
|
||||
* @method Carbon roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
|
||||
* @method Carbon floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
|
||||
* @method Carbon floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
|
||||
* @method Carbon ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
|
||||
* @method Carbon ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
|
||||
* @method Carbon roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
|
||||
* @method Carbon roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
|
||||
* @method Carbon floorCentury(float $precision = 1) Truncate the current instance century with given precision.
|
||||
* @method Carbon floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
|
||||
* @method Carbon ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
|
||||
* @method Carbon ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
|
||||
* @method Carbon roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
|
||||
* @method Carbon roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
|
||||
* @method Carbon floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
|
||||
* @method Carbon floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
|
||||
* @method Carbon ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
|
||||
* @method Carbon ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
|
||||
* @method Carbon roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
|
||||
* @method Carbon roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
|
||||
* @method Carbon floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
|
||||
* @method Carbon floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
|
||||
* @method Carbon ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
|
||||
* @method Carbon ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
|
||||
* @method Carbon roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
|
||||
* @method Carbon roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
|
||||
* @method Carbon floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
|
||||
* @method Carbon floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
|
||||
* @method Carbon ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
|
||||
* @method Carbon ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
|
||||
* @method Carbon roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
|
||||
* @method Carbon roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
|
||||
* @method Carbon floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
|
||||
* @method Carbon floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
|
||||
* @method Carbon ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
|
||||
* @method Carbon ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
|
||||
* @method string shortAbsoluteDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longAbsoluteDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeToNowDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeToNowDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeToOtherDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeToOtherDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method static Carbon createFromImmutable(\DateTimeImmutable $dateTime) Create a new Carbon object from an immutable date.
|
||||
* @method static Carbon createFromFormat(string $format, string $time, string|\DateTimeZone $timezone = null) Parse a string into a new Carbon object according to the specified format.
|
||||
* @method static Carbon __set_state(array $array) https://php.net/manual/en/datetime.set-state.php
|
||||
*
|
||||
* </autodoc>
|
||||
*/
|
||||
class Carbon extends DateTime implements CarbonInterface
|
||||
{
|
||||
use Date;
|
||||
|
||||
/**
|
||||
* Returns true if the current class/instance is mutable.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function isMutable()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
512
vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php
vendored
Normal file
512
vendor/nesbot/carbon/src/Carbon/CarbonImmutable.php
vendored
Normal file
@ -0,0 +1,512 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon;
|
||||
|
||||
use Carbon\Traits\Date;
|
||||
use DateTimeImmutable;
|
||||
|
||||
/**
|
||||
* A simple API extension for DateTimeImmutable.
|
||||
*
|
||||
* <autodoc generated by `composer phpdoc`>
|
||||
*
|
||||
* @property int $year
|
||||
* @property int $yearIso
|
||||
* @property int $month
|
||||
* @property int $day
|
||||
* @property int $hour
|
||||
* @property int $minute
|
||||
* @property int $second
|
||||
* @property int $micro
|
||||
* @property int $microsecond
|
||||
* @property int $timestamp seconds since the Unix Epoch
|
||||
* @property string $englishDayOfWeek the day of week in English
|
||||
* @property string $shortEnglishDayOfWeek the abbreviated day of week in English
|
||||
* @property string $englishMonth the month in English
|
||||
* @property string $shortEnglishMonth the abbreviated month in English
|
||||
* @property string $localeDayOfWeek the day of week in current locale LC_TIME
|
||||
* @property string $shortLocaleDayOfWeek the abbreviated day of week in current locale LC_TIME
|
||||
* @property string $localeMonth the month in current locale LC_TIME
|
||||
* @property string $shortLocaleMonth the abbreviated month in current locale LC_TIME
|
||||
* @property int $milliseconds
|
||||
* @property int $millisecond
|
||||
* @property int $milli
|
||||
* @property int $week 1 through 53
|
||||
* @property int $isoWeek 1 through 53
|
||||
* @property int $weekYear year according to week format
|
||||
* @property int $isoWeekYear year according to ISO week format
|
||||
* @property int $dayOfYear 1 through 366
|
||||
* @property int $age does a diffInYears() with default parameters
|
||||
* @property int $offset the timezone offset in seconds from UTC
|
||||
* @property int $offsetMinutes the timezone offset in minutes from UTC
|
||||
* @property int $offsetHours the timezone offset in hours from UTC
|
||||
* @property CarbonTimeZone $timezone the current timezone
|
||||
* @property CarbonTimeZone $tz alias of $timezone
|
||||
* @property-read int $dayOfWeek 0 (for Sunday) through 6 (for Saturday)
|
||||
* @property-read int $dayOfWeekIso 1 (for Monday) through 7 (for Sunday)
|
||||
* @property-read int $weekOfYear ISO-8601 week number of year, weeks starting on Monday
|
||||
* @property-read int $daysInMonth number of days in the given month
|
||||
* @property-read string $latinMeridiem "am"/"pm" (Ante meridiem or Post meridiem latin lowercase mark)
|
||||
* @property-read string $latinUpperMeridiem "AM"/"PM" (Ante meridiem or Post meridiem latin uppercase mark)
|
||||
* @property-read string $timezoneAbbreviatedName the current timezone abbreviated name
|
||||
* @property-read string $tzAbbrName alias of $timezoneAbbreviatedName
|
||||
* @property-read string $dayName long name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $shortDayName short name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $minDayName very short name of weekday translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $monthName long name of month translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $shortMonthName short name of month translated according to Carbon locale, in english if no translation available for current language
|
||||
* @property-read string $meridiem lowercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
|
||||
* @property-read string $upperMeridiem uppercase meridiem mark translated according to Carbon locale, in latin if no translation available for current language
|
||||
* @property-read int $noZeroHour current hour from 1 to 24
|
||||
* @property-read int $weeksInYear 51 through 53
|
||||
* @property-read int $isoWeeksInYear 51 through 53
|
||||
* @property-read int $weekOfMonth 1 through 5
|
||||
* @property-read int $weekNumberInMonth 1 through 5
|
||||
* @property-read int $firstWeekDay 0 through 6
|
||||
* @property-read int $lastWeekDay 0 through 6
|
||||
* @property-read int $daysInYear 365 or 366
|
||||
* @property-read int $quarter the quarter of this instance, 1 - 4
|
||||
* @property-read int $decade the decade of this instance
|
||||
* @property-read int $century the century of this instance
|
||||
* @property-read int $millennium the millennium of this instance
|
||||
* @property-read bool $dst daylight savings time indicator, true if DST, false otherwise
|
||||
* @property-read bool $local checks if the timezone is local, true if local, false otherwise
|
||||
* @property-read bool $utc checks if the timezone is UTC, true if UTC, false otherwise
|
||||
* @property-read string $timezoneName the current timezone name
|
||||
* @property-read string $tzName alias of $timezoneName
|
||||
* @property-read string $locale locale of the current instance
|
||||
*
|
||||
* @method bool isUtc() Check if the current instance has UTC timezone. (Both isUtc and isUTC cases are valid.)
|
||||
* @method bool isLocal() Check if the current instance has non-UTC timezone.
|
||||
* @method bool isValid() Check if the current instance is a valid date.
|
||||
* @method bool isDST() Check if the current instance is in a daylight saving time.
|
||||
* @method bool isSunday() Checks if the instance day is sunday.
|
||||
* @method bool isMonday() Checks if the instance day is monday.
|
||||
* @method bool isTuesday() Checks if the instance day is tuesday.
|
||||
* @method bool isWednesday() Checks if the instance day is wednesday.
|
||||
* @method bool isThursday() Checks if the instance day is thursday.
|
||||
* @method bool isFriday() Checks if the instance day is friday.
|
||||
* @method bool isSaturday() Checks if the instance day is saturday.
|
||||
* @method bool isSameYear(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same year as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentYear() Checks if the instance is in the same year as the current moment.
|
||||
* @method bool isNextYear() Checks if the instance is in the same year as the current moment next year.
|
||||
* @method bool isLastYear() Checks if the instance is in the same year as the current moment last year.
|
||||
* @method bool isSameWeek(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same week as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentWeek() Checks if the instance is in the same week as the current moment.
|
||||
* @method bool isNextWeek() Checks if the instance is in the same week as the current moment next week.
|
||||
* @method bool isLastWeek() Checks if the instance is in the same week as the current moment last week.
|
||||
* @method bool isSameDay(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same day as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentDay() Checks if the instance is in the same day as the current moment.
|
||||
* @method bool isNextDay() Checks if the instance is in the same day as the current moment next day.
|
||||
* @method bool isLastDay() Checks if the instance is in the same day as the current moment last day.
|
||||
* @method bool isSameHour(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same hour as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentHour() Checks if the instance is in the same hour as the current moment.
|
||||
* @method bool isNextHour() Checks if the instance is in the same hour as the current moment next hour.
|
||||
* @method bool isLastHour() Checks if the instance is in the same hour as the current moment last hour.
|
||||
* @method bool isSameMinute(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same minute as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMinute() Checks if the instance is in the same minute as the current moment.
|
||||
* @method bool isNextMinute() Checks if the instance is in the same minute as the current moment next minute.
|
||||
* @method bool isLastMinute() Checks if the instance is in the same minute as the current moment last minute.
|
||||
* @method bool isSameSecond(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same second as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentSecond() Checks if the instance is in the same second as the current moment.
|
||||
* @method bool isNextSecond() Checks if the instance is in the same second as the current moment next second.
|
||||
* @method bool isLastSecond() Checks if the instance is in the same second as the current moment last second.
|
||||
* @method bool isSameMicro(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMicro() Checks if the instance is in the same microsecond as the current moment.
|
||||
* @method bool isNextMicro() Checks if the instance is in the same microsecond as the current moment next microsecond.
|
||||
* @method bool isLastMicro() Checks if the instance is in the same microsecond as the current moment last microsecond.
|
||||
* @method bool isSameMicrosecond(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same microsecond as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMicrosecond() Checks if the instance is in the same microsecond as the current moment.
|
||||
* @method bool isNextMicrosecond() Checks if the instance is in the same microsecond as the current moment next microsecond.
|
||||
* @method bool isLastMicrosecond() Checks if the instance is in the same microsecond as the current moment last microsecond.
|
||||
* @method bool isCurrentMonth() Checks if the instance is in the same month as the current moment.
|
||||
* @method bool isNextMonth() Checks if the instance is in the same month as the current moment next month.
|
||||
* @method bool isLastMonth() Checks if the instance is in the same month as the current moment last month.
|
||||
* @method bool isCurrentQuarter() Checks if the instance is in the same quarter as the current moment.
|
||||
* @method bool isNextQuarter() Checks if the instance is in the same quarter as the current moment next quarter.
|
||||
* @method bool isLastQuarter() Checks if the instance is in the same quarter as the current moment last quarter.
|
||||
* @method bool isSameDecade(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same decade as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentDecade() Checks if the instance is in the same decade as the current moment.
|
||||
* @method bool isNextDecade() Checks if the instance is in the same decade as the current moment next decade.
|
||||
* @method bool isLastDecade() Checks if the instance is in the same decade as the current moment last decade.
|
||||
* @method bool isSameCentury(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same century as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentCentury() Checks if the instance is in the same century as the current moment.
|
||||
* @method bool isNextCentury() Checks if the instance is in the same century as the current moment next century.
|
||||
* @method bool isLastCentury() Checks if the instance is in the same century as the current moment last century.
|
||||
* @method bool isSameMillennium(\Carbon\Carbon|\DateTimeInterface|string|null $date = null) Checks if the given date is in the same millennium as the instance. If null passed, compare to now (with the same timezone).
|
||||
* @method bool isCurrentMillennium() Checks if the instance is in the same millennium as the current moment.
|
||||
* @method bool isNextMillennium() Checks if the instance is in the same millennium as the current moment next millennium.
|
||||
* @method bool isLastMillennium() Checks if the instance is in the same millennium as the current moment last millennium.
|
||||
* @method CarbonImmutable years(int $value) Set current instance year to the given value.
|
||||
* @method CarbonImmutable year(int $value) Set current instance year to the given value.
|
||||
* @method CarbonImmutable setYears(int $value) Set current instance year to the given value.
|
||||
* @method CarbonImmutable setYear(int $value) Set current instance year to the given value.
|
||||
* @method CarbonImmutable months(int $value) Set current instance month to the given value.
|
||||
* @method CarbonImmutable month(int $value) Set current instance month to the given value.
|
||||
* @method CarbonImmutable setMonths(int $value) Set current instance month to the given value.
|
||||
* @method CarbonImmutable setMonth(int $value) Set current instance month to the given value.
|
||||
* @method CarbonImmutable days(int $value) Set current instance day to the given value.
|
||||
* @method CarbonImmutable day(int $value) Set current instance day to the given value.
|
||||
* @method CarbonImmutable setDays(int $value) Set current instance day to the given value.
|
||||
* @method CarbonImmutable setDay(int $value) Set current instance day to the given value.
|
||||
* @method CarbonImmutable hours(int $value) Set current instance hour to the given value.
|
||||
* @method CarbonImmutable hour(int $value) Set current instance hour to the given value.
|
||||
* @method CarbonImmutable setHours(int $value) Set current instance hour to the given value.
|
||||
* @method CarbonImmutable setHour(int $value) Set current instance hour to the given value.
|
||||
* @method CarbonImmutable minutes(int $value) Set current instance minute to the given value.
|
||||
* @method CarbonImmutable minute(int $value) Set current instance minute to the given value.
|
||||
* @method CarbonImmutable setMinutes(int $value) Set current instance minute to the given value.
|
||||
* @method CarbonImmutable setMinute(int $value) Set current instance minute to the given value.
|
||||
* @method CarbonImmutable seconds(int $value) Set current instance second to the given value.
|
||||
* @method CarbonImmutable second(int $value) Set current instance second to the given value.
|
||||
* @method CarbonImmutable setSeconds(int $value) Set current instance second to the given value.
|
||||
* @method CarbonImmutable setSecond(int $value) Set current instance second to the given value.
|
||||
* @method CarbonImmutable millis(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable milli(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable setMillis(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable setMilli(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable milliseconds(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable millisecond(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable setMilliseconds(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable setMillisecond(int $value) Set current instance millisecond to the given value.
|
||||
* @method CarbonImmutable micros(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable micro(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable setMicros(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable setMicro(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable microseconds(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable microsecond(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable setMicroseconds(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable setMicrosecond(int $value) Set current instance microsecond to the given value.
|
||||
* @method CarbonImmutable addYears(int $value = 1) Add years (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addYear() Add one year to the instance (using date interval).
|
||||
* @method CarbonImmutable subYears(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subYear() Sub one year to the instance (using date interval).
|
||||
* @method CarbonImmutable addYearsWithOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addYearWithOverflow() Add one year to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subYearsWithOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subYearWithOverflow() Sub one year to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addYearsWithoutOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addYearWithoutOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearsWithoutOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearWithoutOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addYearsWithNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addYearWithNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearsWithNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearWithNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addYearsNoOverflow(int $value = 1) Add years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addYearNoOverflow() Add one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearsNoOverflow(int $value = 1) Sub years (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subYearNoOverflow() Sub one year to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonths(int $value = 1) Add months (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMonth() Add one month to the instance (using date interval).
|
||||
* @method CarbonImmutable subMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMonth() Sub one month to the instance (using date interval).
|
||||
* @method CarbonImmutable addMonthsWithOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addMonthWithOverflow() Add one month to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subMonthsWithOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subMonthWithOverflow() Sub one month to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addMonthsWithoutOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonthWithoutOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthsWithoutOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthWithoutOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonthsWithNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonthWithNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthsWithNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthWithNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonthsNoOverflow(int $value = 1) Add months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMonthNoOverflow() Add one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthsNoOverflow(int $value = 1) Sub months (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMonthNoOverflow() Sub one month to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDays(int $value = 1) Add days (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addDay() Add one day to the instance (using date interval).
|
||||
* @method CarbonImmutable subDays(int $value = 1) Sub days (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subDay() Sub one day to the instance (using date interval).
|
||||
* @method CarbonImmutable addHours(int $value = 1) Add hours (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addHour() Add one hour to the instance (using date interval).
|
||||
* @method CarbonImmutable subHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subHour() Sub one hour to the instance (using date interval).
|
||||
* @method CarbonImmutable addMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMinute() Add one minute to the instance (using date interval).
|
||||
* @method CarbonImmutable subMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMinute() Sub one minute to the instance (using date interval).
|
||||
* @method CarbonImmutable addSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addSecond() Add one second to the instance (using date interval).
|
||||
* @method CarbonImmutable subSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subSecond() Sub one second to the instance (using date interval).
|
||||
* @method CarbonImmutable addMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMilli() Add one millisecond to the instance (using date interval).
|
||||
* @method CarbonImmutable subMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMilli() Sub one millisecond to the instance (using date interval).
|
||||
* @method CarbonImmutable addMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMillisecond() Add one millisecond to the instance (using date interval).
|
||||
* @method CarbonImmutable subMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMillisecond() Sub one millisecond to the instance (using date interval).
|
||||
* @method CarbonImmutable addMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMicro() Add one microsecond to the instance (using date interval).
|
||||
* @method CarbonImmutable subMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMicro() Sub one microsecond to the instance (using date interval).
|
||||
* @method CarbonImmutable addMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMicrosecond() Add one microsecond to the instance (using date interval).
|
||||
* @method CarbonImmutable subMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMicrosecond() Sub one microsecond to the instance (using date interval).
|
||||
* @method CarbonImmutable addMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addMillennium() Add one millennium to the instance (using date interval).
|
||||
* @method CarbonImmutable subMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subMillennium() Sub one millennium to the instance (using date interval).
|
||||
* @method CarbonImmutable addMillenniaWithOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addMillenniumWithOverflow() Add one millennium to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subMillenniaWithOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subMillenniumWithOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addMillenniaWithoutOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMillenniumWithoutOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniaWithoutOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniumWithoutOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMillenniaWithNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMillenniumWithNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniaWithNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniumWithNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMillenniaNoOverflow(int $value = 1) Add millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addMillenniumNoOverflow() Add one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniaNoOverflow(int $value = 1) Sub millennia (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subMillenniumNoOverflow() Sub one millennium to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addCentury() Add one century to the instance (using date interval).
|
||||
* @method CarbonImmutable subCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subCentury() Sub one century to the instance (using date interval).
|
||||
* @method CarbonImmutable addCenturiesWithOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addCenturyWithOverflow() Add one century to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subCenturiesWithOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subCenturyWithOverflow() Sub one century to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addCenturiesWithoutOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturyWithoutOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturiesWithoutOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturyWithoutOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturiesWithNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturyWithNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturiesWithNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturyWithNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturiesNoOverflow(int $value = 1) Add centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addCenturyNoOverflow() Add one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturiesNoOverflow(int $value = 1) Sub centuries (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subCenturyNoOverflow() Sub one century to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addDecade() Add one decade to the instance (using date interval).
|
||||
* @method CarbonImmutable subDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subDecade() Sub one decade to the instance (using date interval).
|
||||
* @method CarbonImmutable addDecadesWithOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addDecadeWithOverflow() Add one decade to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subDecadesWithOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subDecadeWithOverflow() Sub one decade to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addDecadesWithoutOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecadeWithoutOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadesWithoutOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadeWithoutOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecadesWithNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecadeWithNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadesWithNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadeWithNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecadesNoOverflow(int $value = 1) Add decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addDecadeNoOverflow() Add one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadesNoOverflow(int $value = 1) Sub decades (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subDecadeNoOverflow() Sub one decade to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addQuarter() Add one quarter to the instance (using date interval).
|
||||
* @method CarbonImmutable subQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subQuarter() Sub one quarter to the instance (using date interval).
|
||||
* @method CarbonImmutable addQuartersWithOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addQuarterWithOverflow() Add one quarter to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subQuartersWithOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable subQuarterWithOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly allowed.
|
||||
* @method CarbonImmutable addQuartersWithoutOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuarterWithoutOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuartersWithoutOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuarterWithoutOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuartersWithNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuarterWithNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuartersWithNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuarterWithNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuartersNoOverflow(int $value = 1) Add quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addQuarterNoOverflow() Add one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuartersNoOverflow(int $value = 1) Sub quarters (the $value count passed in) to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable subQuarterNoOverflow() Sub one quarter to the instance (using date interval) with overflow explicitly forbidden.
|
||||
* @method CarbonImmutable addWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addWeek() Add one week to the instance (using date interval).
|
||||
* @method CarbonImmutable subWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subWeek() Sub one week to the instance (using date interval).
|
||||
* @method CarbonImmutable addWeekdays(int $value = 1) Add weekdays (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable addWeekday() Add one weekday to the instance (using date interval).
|
||||
* @method CarbonImmutable subWeekdays(int $value = 1) Sub weekdays (the $value count passed in) to the instance (using date interval).
|
||||
* @method CarbonImmutable subWeekday() Sub one weekday to the instance (using date interval).
|
||||
* @method CarbonImmutable addRealMicros(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMicro() Add one microsecond to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMicros(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMicro() Sub one microsecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod microsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
|
||||
* @method CarbonImmutable addRealMicroseconds(int $value = 1) Add microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMicrosecond() Add one microsecond to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMicroseconds(int $value = 1) Sub microseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMicrosecond() Sub one microsecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod microsecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each microsecond or every X microseconds if a factor is given.
|
||||
* @method CarbonImmutable addRealMillis(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMilli() Add one millisecond to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMillis(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMilli() Sub one millisecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod millisUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
|
||||
* @method CarbonImmutable addRealMilliseconds(int $value = 1) Add milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMillisecond() Add one millisecond to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMilliseconds(int $value = 1) Sub milliseconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMillisecond() Sub one millisecond to the instance (using timestamp).
|
||||
* @method CarbonPeriod millisecondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millisecond or every X milliseconds if a factor is given.
|
||||
* @method CarbonImmutable addRealSeconds(int $value = 1) Add seconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealSecond() Add one second to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealSeconds(int $value = 1) Sub seconds (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealSecond() Sub one second to the instance (using timestamp).
|
||||
* @method CarbonPeriod secondsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each second or every X seconds if a factor is given.
|
||||
* @method CarbonImmutable addRealMinutes(int $value = 1) Add minutes (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMinute() Add one minute to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMinutes(int $value = 1) Sub minutes (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMinute() Sub one minute to the instance (using timestamp).
|
||||
* @method CarbonPeriod minutesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each minute or every X minutes if a factor is given.
|
||||
* @method CarbonImmutable addRealHours(int $value = 1) Add hours (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealHour() Add one hour to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealHours(int $value = 1) Sub hours (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealHour() Sub one hour to the instance (using timestamp).
|
||||
* @method CarbonPeriod hoursUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each hour or every X hours if a factor is given.
|
||||
* @method CarbonImmutable addRealDays(int $value = 1) Add days (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealDay() Add one day to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealDays(int $value = 1) Sub days (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealDay() Sub one day to the instance (using timestamp).
|
||||
* @method CarbonPeriod daysUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each day or every X days if a factor is given.
|
||||
* @method CarbonImmutable addRealWeeks(int $value = 1) Add weeks (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealWeek() Add one week to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealWeeks(int $value = 1) Sub weeks (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealWeek() Sub one week to the instance (using timestamp).
|
||||
* @method CarbonPeriod weeksUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each week or every X weeks if a factor is given.
|
||||
* @method CarbonImmutable addRealMonths(int $value = 1) Add months (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMonth() Add one month to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMonths(int $value = 1) Sub months (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMonth() Sub one month to the instance (using timestamp).
|
||||
* @method CarbonPeriod monthsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each month or every X months if a factor is given.
|
||||
* @method CarbonImmutable addRealQuarters(int $value = 1) Add quarters (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealQuarter() Add one quarter to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealQuarters(int $value = 1) Sub quarters (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealQuarter() Sub one quarter to the instance (using timestamp).
|
||||
* @method CarbonPeriod quartersUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each quarter or every X quarters if a factor is given.
|
||||
* @method CarbonImmutable addRealYears(int $value = 1) Add years (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealYear() Add one year to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealYears(int $value = 1) Sub years (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealYear() Sub one year to the instance (using timestamp).
|
||||
* @method CarbonPeriod yearsUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each year or every X years if a factor is given.
|
||||
* @method CarbonImmutable addRealDecades(int $value = 1) Add decades (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealDecade() Add one decade to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealDecades(int $value = 1) Sub decades (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealDecade() Sub one decade to the instance (using timestamp).
|
||||
* @method CarbonPeriod decadesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each decade or every X decades if a factor is given.
|
||||
* @method CarbonImmutable addRealCenturies(int $value = 1) Add centuries (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealCentury() Add one century to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealCenturies(int $value = 1) Sub centuries (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealCentury() Sub one century to the instance (using timestamp).
|
||||
* @method CarbonPeriod centuriesUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each century or every X centuries if a factor is given.
|
||||
* @method CarbonImmutable addRealMillennia(int $value = 1) Add millennia (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable addRealMillennium() Add one millennium to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMillennia(int $value = 1) Sub millennia (the $value count passed in) to the instance (using timestamp).
|
||||
* @method CarbonImmutable subRealMillennium() Sub one millennium to the instance (using timestamp).
|
||||
* @method CarbonPeriod millenniaUntil($endDate = null, int $factor = 1) Return an iterable period from current date to given end (string, DateTime or Carbon instance) for each millennium or every X millennia if a factor is given.
|
||||
* @method CarbonImmutable roundYear(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
|
||||
* @method CarbonImmutable roundYears(float $precision = 1, string $function = "round") Round the current instance year with given precision using the given function.
|
||||
* @method CarbonImmutable floorYear(float $precision = 1) Truncate the current instance year with given precision.
|
||||
* @method CarbonImmutable floorYears(float $precision = 1) Truncate the current instance year with given precision.
|
||||
* @method CarbonImmutable ceilYear(float $precision = 1) Ceil the current instance year with given precision.
|
||||
* @method CarbonImmutable ceilYears(float $precision = 1) Ceil the current instance year with given precision.
|
||||
* @method CarbonImmutable roundMonth(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
|
||||
* @method CarbonImmutable roundMonths(float $precision = 1, string $function = "round") Round the current instance month with given precision using the given function.
|
||||
* @method CarbonImmutable floorMonth(float $precision = 1) Truncate the current instance month with given precision.
|
||||
* @method CarbonImmutable floorMonths(float $precision = 1) Truncate the current instance month with given precision.
|
||||
* @method CarbonImmutable ceilMonth(float $precision = 1) Ceil the current instance month with given precision.
|
||||
* @method CarbonImmutable ceilMonths(float $precision = 1) Ceil the current instance month with given precision.
|
||||
* @method CarbonImmutable roundDay(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
|
||||
* @method CarbonImmutable roundDays(float $precision = 1, string $function = "round") Round the current instance day with given precision using the given function.
|
||||
* @method CarbonImmutable floorDay(float $precision = 1) Truncate the current instance day with given precision.
|
||||
* @method CarbonImmutable floorDays(float $precision = 1) Truncate the current instance day with given precision.
|
||||
* @method CarbonImmutable ceilDay(float $precision = 1) Ceil the current instance day with given precision.
|
||||
* @method CarbonImmutable ceilDays(float $precision = 1) Ceil the current instance day with given precision.
|
||||
* @method CarbonImmutable roundHour(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
|
||||
* @method CarbonImmutable roundHours(float $precision = 1, string $function = "round") Round the current instance hour with given precision using the given function.
|
||||
* @method CarbonImmutable floorHour(float $precision = 1) Truncate the current instance hour with given precision.
|
||||
* @method CarbonImmutable floorHours(float $precision = 1) Truncate the current instance hour with given precision.
|
||||
* @method CarbonImmutable ceilHour(float $precision = 1) Ceil the current instance hour with given precision.
|
||||
* @method CarbonImmutable ceilHours(float $precision = 1) Ceil the current instance hour with given precision.
|
||||
* @method CarbonImmutable roundMinute(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
|
||||
* @method CarbonImmutable roundMinutes(float $precision = 1, string $function = "round") Round the current instance minute with given precision using the given function.
|
||||
* @method CarbonImmutable floorMinute(float $precision = 1) Truncate the current instance minute with given precision.
|
||||
* @method CarbonImmutable floorMinutes(float $precision = 1) Truncate the current instance minute with given precision.
|
||||
* @method CarbonImmutable ceilMinute(float $precision = 1) Ceil the current instance minute with given precision.
|
||||
* @method CarbonImmutable ceilMinutes(float $precision = 1) Ceil the current instance minute with given precision.
|
||||
* @method CarbonImmutable roundSecond(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
|
||||
* @method CarbonImmutable roundSeconds(float $precision = 1, string $function = "round") Round the current instance second with given precision using the given function.
|
||||
* @method CarbonImmutable floorSecond(float $precision = 1) Truncate the current instance second with given precision.
|
||||
* @method CarbonImmutable floorSeconds(float $precision = 1) Truncate the current instance second with given precision.
|
||||
* @method CarbonImmutable ceilSecond(float $precision = 1) Ceil the current instance second with given precision.
|
||||
* @method CarbonImmutable ceilSeconds(float $precision = 1) Ceil the current instance second with given precision.
|
||||
* @method CarbonImmutable roundMillennium(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
|
||||
* @method CarbonImmutable roundMillennia(float $precision = 1, string $function = "round") Round the current instance millennium with given precision using the given function.
|
||||
* @method CarbonImmutable floorMillennium(float $precision = 1) Truncate the current instance millennium with given precision.
|
||||
* @method CarbonImmutable floorMillennia(float $precision = 1) Truncate the current instance millennium with given precision.
|
||||
* @method CarbonImmutable ceilMillennium(float $precision = 1) Ceil the current instance millennium with given precision.
|
||||
* @method CarbonImmutable ceilMillennia(float $precision = 1) Ceil the current instance millennium with given precision.
|
||||
* @method CarbonImmutable roundCentury(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
|
||||
* @method CarbonImmutable roundCenturies(float $precision = 1, string $function = "round") Round the current instance century with given precision using the given function.
|
||||
* @method CarbonImmutable floorCentury(float $precision = 1) Truncate the current instance century with given precision.
|
||||
* @method CarbonImmutable floorCenturies(float $precision = 1) Truncate the current instance century with given precision.
|
||||
* @method CarbonImmutable ceilCentury(float $precision = 1) Ceil the current instance century with given precision.
|
||||
* @method CarbonImmutable ceilCenturies(float $precision = 1) Ceil the current instance century with given precision.
|
||||
* @method CarbonImmutable roundDecade(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
|
||||
* @method CarbonImmutable roundDecades(float $precision = 1, string $function = "round") Round the current instance decade with given precision using the given function.
|
||||
* @method CarbonImmutable floorDecade(float $precision = 1) Truncate the current instance decade with given precision.
|
||||
* @method CarbonImmutable floorDecades(float $precision = 1) Truncate the current instance decade with given precision.
|
||||
* @method CarbonImmutable ceilDecade(float $precision = 1) Ceil the current instance decade with given precision.
|
||||
* @method CarbonImmutable ceilDecades(float $precision = 1) Ceil the current instance decade with given precision.
|
||||
* @method CarbonImmutable roundQuarter(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
|
||||
* @method CarbonImmutable roundQuarters(float $precision = 1, string $function = "round") Round the current instance quarter with given precision using the given function.
|
||||
* @method CarbonImmutable floorQuarter(float $precision = 1) Truncate the current instance quarter with given precision.
|
||||
* @method CarbonImmutable floorQuarters(float $precision = 1) Truncate the current instance quarter with given precision.
|
||||
* @method CarbonImmutable ceilQuarter(float $precision = 1) Ceil the current instance quarter with given precision.
|
||||
* @method CarbonImmutable ceilQuarters(float $precision = 1) Ceil the current instance quarter with given precision.
|
||||
* @method CarbonImmutable roundMillisecond(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
|
||||
* @method CarbonImmutable roundMilliseconds(float $precision = 1, string $function = "round") Round the current instance millisecond with given precision using the given function.
|
||||
* @method CarbonImmutable floorMillisecond(float $precision = 1) Truncate the current instance millisecond with given precision.
|
||||
* @method CarbonImmutable floorMilliseconds(float $precision = 1) Truncate the current instance millisecond with given precision.
|
||||
* @method CarbonImmutable ceilMillisecond(float $precision = 1) Ceil the current instance millisecond with given precision.
|
||||
* @method CarbonImmutable ceilMilliseconds(float $precision = 1) Ceil the current instance millisecond with given precision.
|
||||
* @method CarbonImmutable roundMicrosecond(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
|
||||
* @method CarbonImmutable roundMicroseconds(float $precision = 1, string $function = "round") Round the current instance microsecond with given precision using the given function.
|
||||
* @method CarbonImmutable floorMicrosecond(float $precision = 1) Truncate the current instance microsecond with given precision.
|
||||
* @method CarbonImmutable floorMicroseconds(float $precision = 1) Truncate the current instance microsecond with given precision.
|
||||
* @method CarbonImmutable ceilMicrosecond(float $precision = 1) Ceil the current instance microsecond with given precision.
|
||||
* @method CarbonImmutable ceilMicroseconds(float $precision = 1) Ceil the current instance microsecond with given precision.
|
||||
* @method string shortAbsoluteDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longAbsoluteDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Absolute' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'Relative' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeToNowDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeToNowDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToNow' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string shortRelativeToOtherDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (short format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method string longRelativeToOtherDiffForHumans(\DateTimeInterface $other = null, int $parts = 1) Get the difference (long format, 'RelativeToOther' mode) in a human readable format in the current locale. ($other and $parts parameters can be swapped.)
|
||||
* @method static CarbonImmutable createFromMutable(\DateTime $dateTime) Create a new CarbonImmutable object from an immutable date.
|
||||
* @method static CarbonImmutable createFromFormat(string $format, string $time, string|\DateTimeZone $timezone = null) Parse a string into a new CarbonImmutable object according to the specified format.
|
||||
* @method static CarbonImmutable __set_state(array $array) https://php.net/manual/en/datetime.set-state.php
|
||||
*
|
||||
* </autodoc>
|
||||
*/
|
||||
class CarbonImmutable extends DateTimeImmutable implements CarbonInterface
|
||||
{
|
||||
use Date;
|
||||
}
|
4824
vendor/nesbot/carbon/src/Carbon/CarbonInterface.php
vendored
Normal file
4824
vendor/nesbot/carbon/src/Carbon/CarbonInterface.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2469
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
Normal file
2469
vendor/nesbot/carbon/src/Carbon/CarbonInterval.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2371
vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
vendored
Normal file
2371
vendor/nesbot/carbon/src/Carbon/CarbonPeriod.php
vendored
Normal file
File diff suppressed because it is too large
Load Diff
250
vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
vendored
Normal file
250
vendor/nesbot/carbon/src/Carbon/CarbonTimeZone.php
vendored
Normal file
@ -0,0 +1,250 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon;
|
||||
|
||||
use DateTimeInterface;
|
||||
use DateTimeZone;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class CarbonTimeZone extends DateTimeZone
|
||||
{
|
||||
public function __construct($timezone = null)
|
||||
{
|
||||
parent::__construct(static::getDateTimeZoneNameFromMixed($timezone));
|
||||
}
|
||||
|
||||
protected static function parseNumericTimezone($timezone)
|
||||
{
|
||||
if ($timezone <= -100 || $timezone >= 100) {
|
||||
throw new InvalidArgumentException('Absolute timezone offset cannot be greater than 100.');
|
||||
}
|
||||
|
||||
return ($timezone >= 0 ? '+' : '').$timezone.':00';
|
||||
}
|
||||
|
||||
protected static function getDateTimeZoneNameFromMixed($timezone)
|
||||
{
|
||||
if (is_null($timezone)) {
|
||||
return date_default_timezone_get();
|
||||
}
|
||||
|
||||
if (is_string($timezone)) {
|
||||
$timezone = preg_replace('/^\s*([+-]\d+)(\d{2})\s*$/', '$1:$2', $timezone);
|
||||
}
|
||||
|
||||
if (is_numeric($timezone)) {
|
||||
return static::parseNumericTimezone($timezone);
|
||||
}
|
||||
|
||||
return $timezone;
|
||||
}
|
||||
|
||||
protected static function getDateTimeZoneFromName(&$name)
|
||||
{
|
||||
return @timezone_open($name = (string) static::getDateTimeZoneNameFromMixed($name));
|
||||
}
|
||||
|
||||
/**
|
||||
* Cast the current instance into the given class.
|
||||
*
|
||||
* @param string $className The $className::instance() method will be called to cast the current object.
|
||||
*
|
||||
* @return DateTimeZone
|
||||
*/
|
||||
public function cast(string $className)
|
||||
{
|
||||
if (!method_exists($className, 'instance')) {
|
||||
if (is_a($className, DateTimeZone::class, true)) {
|
||||
return new $className($this->getName());
|
||||
}
|
||||
|
||||
throw new InvalidArgumentException("$className has not the instance() method needed to cast the date.");
|
||||
}
|
||||
|
||||
return $className::instance($this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a CarbonTimeZone from mixed input.
|
||||
*
|
||||
* @param DateTimeZone|string|int|null $object original value to get CarbonTimeZone from it.
|
||||
* @param DateTimeZone|string|int|null $objectDump dump of the object for error messages.
|
||||
*
|
||||
* @return false|static
|
||||
*/
|
||||
public static function instance($object = null, $objectDump = null)
|
||||
{
|
||||
$tz = $object;
|
||||
|
||||
if ($tz instanceof static) {
|
||||
return $tz;
|
||||
}
|
||||
|
||||
if ($tz === null) {
|
||||
return new static();
|
||||
}
|
||||
|
||||
if (!$tz instanceof DateTimeZone) {
|
||||
$tz = static::getDateTimeZoneFromName($object);
|
||||
}
|
||||
|
||||
if ($tz === false) {
|
||||
if (Carbon::isStrictModeEnabled()) {
|
||||
throw new InvalidArgumentException('Unknown or bad timezone ('.($objectDump ?: $object).')');
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return new static($tz->getName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns abbreviated name of the current timezone according to DST setting.
|
||||
*
|
||||
* @param bool $dst
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAbbreviatedName($dst = false)
|
||||
{
|
||||
$name = $this->getName();
|
||||
|
||||
foreach ($this->listAbbreviations() as $abbreviation => $zones) {
|
||||
foreach ($zones as $zone) {
|
||||
if ($zone['timezone_id'] === $name && $zone['dst'] == $dst) {
|
||||
return $abbreviation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return 'unknown';
|
||||
}
|
||||
|
||||
/**
|
||||
* @alias getAbbreviatedName
|
||||
*
|
||||
* Returns abbreviated name of the current timezone according to DST setting.
|
||||
*
|
||||
* @param bool $dst
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getAbbr($dst = false)
|
||||
{
|
||||
return $this->getAbbreviatedName($dst);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the offset as string "sHH:MM" (such as "+00:00" or "-12:30").
|
||||
*
|
||||
* @param DateTimeInterface|null $date
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toOffsetName(DateTimeInterface $date = null)
|
||||
{
|
||||
$minutes = floor($this->getOffset($date ?: Carbon::now($this)) / 60);
|
||||
|
||||
$hours = floor($minutes / 60);
|
||||
|
||||
$minutes = str_pad((string) (abs($minutes) % 60), 2, '0', STR_PAD_LEFT);
|
||||
|
||||
return ($hours < 0 ? '-' : '+').str_pad((string) abs($hours), 2, '0', STR_PAD_LEFT).":$minutes";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new CarbonTimeZone object using the offset string instead of region string.
|
||||
*
|
||||
* @param DateTimeInterface|null $date
|
||||
*
|
||||
* @return CarbonTimeZone
|
||||
*/
|
||||
public function toOffsetTimeZone(DateTimeInterface $date = null)
|
||||
{
|
||||
return new static($this->toOffsetName($date));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the first region string (such as "America/Toronto") that matches the current timezone.
|
||||
*
|
||||
* @see timezone_name_from_abbr native PHP function.
|
||||
*
|
||||
* @param DateTimeInterface|null $date
|
||||
* @param int $isDst
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toRegionName(DateTimeInterface $date = null, $isDst = 1)
|
||||
{
|
||||
$name = $this->getName();
|
||||
$firstChar = substr($name, 0, 1);
|
||||
|
||||
if ($firstChar !== '+' && $firstChar !== '-') {
|
||||
return $name;
|
||||
}
|
||||
|
||||
// Integer construction no longer supported since PHP 8
|
||||
// @codeCoverageIgnoreStart
|
||||
try {
|
||||
$offset = @$this->getOffset($date ?: Carbon::now($this)) ?: 0;
|
||||
} catch (\Throwable $e) {
|
||||
$offset = 0;
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
|
||||
return @timezone_name_from_abbr('', $offset, $isDst);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a new CarbonTimeZone object using the region string instead of offset string.
|
||||
*
|
||||
* @param DateTimeInterface|null $date
|
||||
*
|
||||
* @return CarbonTimeZone|false
|
||||
*/
|
||||
public function toRegionTimeZone(DateTimeInterface $date = null)
|
||||
{
|
||||
$tz = $this->toRegionName($date);
|
||||
|
||||
if ($tz === false) {
|
||||
if (Carbon::isStrictModeEnabled()) {
|
||||
throw new InvalidArgumentException('Unknown timezone for offset '.$this->getOffset($date ?: Carbon::now($this)).' seconds.');
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return new static($tz);
|
||||
}
|
||||
|
||||
/**
|
||||
* Cast to string (get timezone name).
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->getName();
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a CarbonTimeZone from mixed input.
|
||||
*
|
||||
* @param DateTimeZone|string|int|null $object
|
||||
*
|
||||
* @return false|static
|
||||
*/
|
||||
public static function create($object = null)
|
||||
{
|
||||
return static::instance($object);
|
||||
}
|
||||
}
|
29
vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
vendored
Normal file
29
vendor/nesbot/carbon/src/Carbon/Cli/Invoker.php
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Carbon\Cli;
|
||||
|
||||
class Invoker
|
||||
{
|
||||
const CLI_CLASS_NAME = 'Carbon\\Cli';
|
||||
|
||||
protected function runWithCli(string $className, array $parameters): bool
|
||||
{
|
||||
$cli = new $className();
|
||||
|
||||
return $cli(...$parameters);
|
||||
}
|
||||
|
||||
public function __invoke(...$parameters): bool
|
||||
{
|
||||
if (class_exists(self::CLI_CLASS_NAME)) {
|
||||
return $this->runWithCli(self::CLI_CLASS_NAME, $parameters);
|
||||
}
|
||||
|
||||
$function = (($parameters[1] ?? '') === 'install' ? ($parameters[2] ?? null) : null) ?: 'shell_exec';
|
||||
$function('composer require carbon-cli/carbon-cli --no-interaction');
|
||||
|
||||
echo 'Installation succeeded.';
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
95
vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
vendored
Normal file
95
vendor/nesbot/carbon/src/Carbon/Doctrine/CarbonType.php
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Thanks to https://github.com/flaushi for his suggestion:
|
||||
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
|
||||
*/
|
||||
namespace Carbon\Doctrine;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Carbon\CarbonInterface;
|
||||
use DateTimeInterface;
|
||||
use Doctrine\DBAL\Platforms\AbstractPlatform;
|
||||
use Doctrine\DBAL\Types\ConversionException;
|
||||
|
||||
trait CarbonType
|
||||
{
|
||||
protected function getCarbonClassName(): string
|
||||
{
|
||||
return Carbon::class;
|
||||
}
|
||||
|
||||
public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
|
||||
{
|
||||
$precision = $fieldDeclaration['precision'] ?: DateTimeDefaultPrecision::get();
|
||||
$type = parent::getSQLDeclaration($fieldDeclaration, $platform);
|
||||
|
||||
if (!$precision) {
|
||||
return $type;
|
||||
}
|
||||
|
||||
if (strpos($type, '(') !== false) {
|
||||
return preg_replace('/\(\d+\)/', "($precision)", $type);
|
||||
}
|
||||
|
||||
list($before, $after) = explode(' ', "$type ");
|
||||
|
||||
return trim("$before($precision) $after");
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||
{
|
||||
if ($value === null || $value instanceof CarbonInterface) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
$class = $this->getCarbonClassName();
|
||||
|
||||
if ($value instanceof DateTimeInterface) {
|
||||
return $class::instance($value);
|
||||
}
|
||||
|
||||
$date = $class::parse($value);
|
||||
|
||||
if (!$date) {
|
||||
throw ConversionException::conversionFailedFormat(
|
||||
$value,
|
||||
$this->getName(),
|
||||
'Y-m-d H:i:s.u'
|
||||
);
|
||||
}
|
||||
|
||||
return $date;
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
public function convertToDatabaseValue($value, AbstractPlatform $platform)
|
||||
{
|
||||
if ($value === null) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
if ($value instanceof DateTimeInterface) {
|
||||
return $value->format('Y-m-d H:i:s.u');
|
||||
}
|
||||
|
||||
throw ConversionException::conversionFailedInvalidType(
|
||||
$value,
|
||||
$this->getName(),
|
||||
['null', 'DateTime']
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
|
||||
*/
|
||||
public function requiresSQLCommentHint(AbstractPlatform $platform)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
32
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
vendored
Normal file
32
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeDefaultPrecision.php
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Thanks to https://github.com/flaushi for his suggestion:
|
||||
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
|
||||
*/
|
||||
namespace Carbon\Doctrine;
|
||||
|
||||
class DateTimeDefaultPrecision
|
||||
{
|
||||
private static $precision = 6;
|
||||
|
||||
/**
|
||||
* Change the default Doctrine datetime and datetime_immutable precision.
|
||||
*
|
||||
* @param int $precision
|
||||
*/
|
||||
public static function set(int $precision): void
|
||||
{
|
||||
self::$precision = $precision;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the default Doctrine datetime and datetime_immutable precision.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function get(): int
|
||||
{
|
||||
return self::$precision;
|
||||
}
|
||||
}
|
20
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php
vendored
Normal file
20
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeImmutableType.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Thanks to https://github.com/flaushi for his suggestion:
|
||||
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
|
||||
*/
|
||||
namespace Carbon\Doctrine;
|
||||
|
||||
use Carbon\CarbonImmutable;
|
||||
use Doctrine\DBAL\Types\VarDateTimeImmutableType;
|
||||
|
||||
class DateTimeImmutableType extends VarDateTimeImmutableType
|
||||
{
|
||||
use CarbonType;
|
||||
|
||||
protected function getCarbonClassName(): string
|
||||
{
|
||||
return CarbonImmutable::class;
|
||||
}
|
||||
}
|
14
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php
vendored
Normal file
14
vendor/nesbot/carbon/src/Carbon/Doctrine/DateTimeType.php
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Thanks to https://github.com/flaushi for his suggestion:
|
||||
* https://github.com/doctrine/dbal/issues/2873#issuecomment-534956358
|
||||
*/
|
||||
namespace Carbon\Doctrine;
|
||||
|
||||
use Doctrine\DBAL\Types\VarDateTimeType;
|
||||
|
||||
class DateTimeType extends VarDateTimeType
|
||||
{
|
||||
use CarbonType;
|
||||
}
|
29
vendor/nesbot/carbon/src/Carbon/Exceptions/BadUnitException.php
vendored
Normal file
29
vendor/nesbot/carbon/src/Carbon/Exceptions/BadUnitException.php
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class BadUnitException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $unit
|
||||
* @param int $code
|
||||
* @param \Exception|null $previous
|
||||
*/
|
||||
public function __construct($unit, $code = 0, Exception $previous = null)
|
||||
{
|
||||
parent::__construct("Bad comparison unit: '$unit'", $code, $previous);
|
||||
}
|
||||
}
|
66
vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
vendored
Normal file
66
vendor/nesbot/carbon/src/Carbon/Exceptions/InvalidDateException.php
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class InvalidDateException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* The invalid field.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
private $field;
|
||||
|
||||
/**
|
||||
* The invalid value.
|
||||
*
|
||||
* @var mixed
|
||||
*/
|
||||
private $value;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $field
|
||||
* @param mixed $value
|
||||
* @param int $code
|
||||
* @param \Exception|null $previous
|
||||
*/
|
||||
public function __construct($field, $value, $code = 0, Exception $previous = null)
|
||||
{
|
||||
$this->field = $field;
|
||||
$this->value = $value;
|
||||
parent::__construct($field.' : '.$value.' is not a valid value.', $code, $previous);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the invalid field.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getField()
|
||||
{
|
||||
return $this->field;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the invalid value.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
return $this->value;
|
||||
}
|
||||
}
|
29
vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
vendored
Normal file
29
vendor/nesbot/carbon/src/Carbon/Exceptions/NotAPeriodException.php
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class NotAPeriodException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $message
|
||||
* @param int $code
|
||||
* @param \Exception|null $previous
|
||||
*/
|
||||
public function __construct($message, $code = 0, Exception $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
31
vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
vendored
Normal file
31
vendor/nesbot/carbon/src/Carbon/Exceptions/NotLocaleAwareException.php
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class NotLocaleAwareException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param mixed $object
|
||||
* @param int $code
|
||||
* @param \Exception|null $previous
|
||||
*/
|
||||
public function __construct($object, $code = 0, Exception $previous = null)
|
||||
{
|
||||
$dump = is_object($object) ? get_class($object) : gettype($object);
|
||||
|
||||
parent::__construct("$dump does neither implements Symfony\Contracts\Translation\LocaleAwareInterface nor getLocale() method.", $code, $previous);
|
||||
}
|
||||
}
|
32
vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
vendored
Normal file
32
vendor/nesbot/carbon/src/Carbon/Exceptions/ParseErrorException.php
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon\Exceptions;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
|
||||
class ParseErrorException extends InvalidArgumentException
|
||||
{
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string $expected
|
||||
* @param string $actual
|
||||
* @param int $code
|
||||
* @param \Exception|null $previous
|
||||
*/
|
||||
public function __construct($expected, $actual, $help = '', $code = 0, Exception $previous = null)
|
||||
{
|
||||
$actual = $actual === '' ? 'data is missing' : "get '$actual'";
|
||||
|
||||
parent::__construct(trim("Format expected $expected but $actual\n$help"), $code, $previous);
|
||||
}
|
||||
}
|
273
vendor/nesbot/carbon/src/Carbon/Factory.php
vendored
Normal file
273
vendor/nesbot/carbon/src/Carbon/Factory.php
vendored
Normal file
@ -0,0 +1,273 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon;
|
||||
|
||||
use Closure;
|
||||
|
||||
/**
|
||||
* A factory to generate Carbon instances with common settings.
|
||||
*
|
||||
* <autodoc generated by `composer phpdoc`>
|
||||
*
|
||||
* @method Carbon create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
|
||||
* If any of $year, $month or $day are set to null their now() values will
|
||||
* be used.
|
||||
* If $hour is null it will be set to its now() value and the default
|
||||
* values for $minute and $second will be their now() values.
|
||||
* If $hour is not null then the default values for $minute and $second
|
||||
* will be 0.
|
||||
* @method Carbon createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
|
||||
* @method Carbon|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
|
||||
* @method Carbon|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
|
||||
* @method Carbon|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
|
||||
* @method Carbon|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
|
||||
* @method Carbon createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
|
||||
* @method Carbon createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
|
||||
* @method Carbon createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp.
|
||||
* @method Carbon createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
|
||||
* @method Carbon createFromTimestampUTC($timestamp) Create a Carbon instance from an UTC timestamp.
|
||||
* @method Carbon createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
|
||||
* @method Carbon|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
|
||||
* If any of $year, $month or $day are set to null their now() values will
|
||||
* be used.
|
||||
* If $hour is null it will be set to its now() value and the default
|
||||
* values for $minute and $second will be their now() values.
|
||||
* If $hour is not null then the default values for $minute and $second
|
||||
* will be 0.
|
||||
* If one of the set values is not valid, an \InvalidArgumentException
|
||||
* will be thrown.
|
||||
* @method Carbon disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method Carbon enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
|
||||
* then return the result of the closure (or null if the closure was void).
|
||||
* @method Carbon fromSerialized($value) Create an instance from a serialized string.
|
||||
* @method void genericMacro($macro, $priority = 0) Register a custom macro.
|
||||
* @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
|
||||
* (It will ignore custom translator dynamic loading.)
|
||||
* @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
|
||||
* name, region and variant of the locale.
|
||||
* @method array getDays() Get the days of the week
|
||||
* @method string|null getFallbackLocale() Get the fallback locale.
|
||||
* @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
|
||||
* @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
|
||||
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
|
||||
* @method Carbon getLastErrors() {@inheritdoc}
|
||||
* @method string getLocale() Get the current translator locale.
|
||||
* @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
|
||||
* @method int getMidDayAt() get midday/noon hour
|
||||
* @method Closure|Carbon getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
|
||||
* instance is created.
|
||||
* @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
|
||||
* @method string getTranslationMessageWith($translator, string $key, string $locale = null, string $default = null) Returns raw translation message for a given key.
|
||||
* @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
|
||||
* @method int getWeekEndsAt() Get the last day of week
|
||||
* @method int getWeekStartsAt() Get the first day of week
|
||||
* @method array getWeekendDays() Get weekend days
|
||||
* @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
|
||||
* @method bool hasMacro($name) Checks if macro is registered globally.
|
||||
* @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
|
||||
* @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
|
||||
* is anything that is not null.
|
||||
* @method Carbon instance($date) Create a Carbon instance from a DateTime one.
|
||||
* @method bool isImmutable() Returns true if the current class/instance is immutable.
|
||||
* @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
|
||||
* @method bool isMutable() Returns true if the current class/instance is mutable.
|
||||
* @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
|
||||
* (It can be overridden in specific instances.)
|
||||
* @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
|
||||
* Support is considered enabled if the 3 words are translated in the given locale.
|
||||
* @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
|
||||
* Support is considered enabled if the 4 sentences are translated in the given locale.
|
||||
* @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
|
||||
* Support is considered enabled if the 2 words are translated in the given locale.
|
||||
* @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
|
||||
* Support is considered enabled if the 4 sentences are translated in the given locale.
|
||||
* @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
|
||||
* Support is considered enabled if either year, day or hour has a short variant translated.
|
||||
* @method void macro($name, $macro) Register a custom macro.
|
||||
* @method Carbon|null make($var) Make a Carbon instance from given variable if possible.
|
||||
* Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
|
||||
* and recurrences). Throw an exception for invalid format, but otherwise return null.
|
||||
* @method Carbon maxValue() Create a Carbon instance for the greatest supported date.
|
||||
* @method Carbon minValue() Create a Carbon instance for the lowest supported date.
|
||||
* @method void mixin($mixin) Mix another object into the class.
|
||||
* @method Carbon now($tz = null) Get a Carbon instance for the current date and time.
|
||||
* @method Carbon parse($time = null, $tz = null) Create a carbon instance from a string.
|
||||
* This is an alias for the constructor that allows better fluent syntax
|
||||
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
|
||||
* than (new Carbon('Monday next week'))->fn().
|
||||
* @method Carbon parseFromLocale($time, $locale, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
|
||||
* @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
|
||||
* @method Carbon|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
|
||||
* @method Carbon rawParse($time = null, $tz = null) Create a carbon instance from a string.
|
||||
* This is an alias for the constructor that allows better fluent syntax
|
||||
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
|
||||
* than (new Carbon('Monday next week'))->fn().
|
||||
* @method Carbon resetMacros() Remove all macros and generic macros.
|
||||
* @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
|
||||
* @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather transform Carbon object before the serialization.
|
||||
* JSON serialize all Carbon instances using the given callback.
|
||||
* @method Carbon setFallbackLocale($locale) Set the fallback locale.
|
||||
* @method Carbon setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
|
||||
* Pass 'auto' as locale to use closest language from the current LC_TIME locale.
|
||||
* @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather consider mid-day is always 12pm, then if you need to test if it's an other
|
||||
* hour, test it explicitly:
|
||||
* $date->format('G') == 13
|
||||
* or to set explicitly to a given hour:
|
||||
* $date->setTime(13, 0, 0, 0)
|
||||
* Set midday/noon hour
|
||||
* @method Carbon setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
|
||||
* instance is created. The provided instance will be returned
|
||||
* specifically under the following conditions:
|
||||
* - A call to the static now() method, ex. Carbon::now()
|
||||
* - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
|
||||
* - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
|
||||
* - When a string containing the desired time is passed to Carbon::parse().
|
||||
* Note the timezone parameter was left out of the examples above and
|
||||
* has no affect as the mock value will be returned regardless of its value.
|
||||
* To clear the test instance call this method using the default
|
||||
* parameter of null.
|
||||
* /!\ Use this method for unit tests only.
|
||||
* @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
|
||||
* use other method or custom format passed to format() method if you need to dump an other string
|
||||
* format.
|
||||
* Set the default format used when type juggling a Carbon instance to a string
|
||||
* @method void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) Set the default translator instance to use.
|
||||
* @method Carbon setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use UTF-8 language packages on every machine.
|
||||
* Set if UTF8 will be used for localized date/time.
|
||||
* @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
|
||||
* or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
|
||||
* start of week according to current locale selected and implicitly the end of week.
|
||||
* Set the last day of week
|
||||
* @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
|
||||
* 'first_day_of_week' locale setting to change the start of week according to current locale
|
||||
* selected and implicitly the end of week.
|
||||
* Set the first day of week
|
||||
* @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather consider week-end is always saturday and sunday, and if you have some custom
|
||||
* week-end days to handle, give to those days an other name and create a macro for them:
|
||||
* ```
|
||||
* Carbon::macro('isDayOff', function ($date) {
|
||||
* return $date->isSunday() || $date->isMonday();
|
||||
* });
|
||||
* Carbon::macro('isNotDayOff', function ($date) {
|
||||
* return !$date->isDayOff();
|
||||
* });
|
||||
* if ($someDate->isDayOff()) ...
|
||||
* if ($someDate->isNotDayOff()) ...
|
||||
* // Add 5 not-off days
|
||||
* $count = 5;
|
||||
* while ($someDate->isDayOff() || ($count-- > 0)) {
|
||||
* $someDate->addDay();
|
||||
* }
|
||||
* ```
|
||||
* Set weekend days
|
||||
* @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
|
||||
* @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
|
||||
* @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
|
||||
* @method Carbon today($tz = null) Create a Carbon instance for today.
|
||||
* @method Carbon tomorrow($tz = null) Create a Carbon instance for tomorrow.
|
||||
* @method string translateTimeString($timeString, $from = null, $to = null, $mode = 15) Translate a time string from a locale to an other.
|
||||
* @method string translateWith(\Symfony\Component\Translation\TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
|
||||
* @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method Carbon useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method Carbon yesterday($tz = null) Create a Carbon instance for yesterday.
|
||||
*
|
||||
* </autodoc>
|
||||
*/
|
||||
class Factory
|
||||
{
|
||||
protected $className = Carbon::class;
|
||||
|
||||
protected $settings = [];
|
||||
|
||||
public function __construct(array $settings = [], string $className = null)
|
||||
{
|
||||
if ($className) {
|
||||
$this->className = $className;
|
||||
}
|
||||
$this->settings = $settings;
|
||||
}
|
||||
|
||||
public function getClassName()
|
||||
{
|
||||
return $this->className;
|
||||
}
|
||||
|
||||
public function setClassName(string $className)
|
||||
{
|
||||
$this->className = $className;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function className(string $className = null)
|
||||
{
|
||||
return $className === null ? $this->getClassName() : $this->setClassName($className);
|
||||
}
|
||||
|
||||
public function getSettings()
|
||||
{
|
||||
return $this->settings;
|
||||
}
|
||||
|
||||
public function setSettings(array $settings)
|
||||
{
|
||||
$this->settings = $settings;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function settings(array $settings = null)
|
||||
{
|
||||
return $settings === null ? $this->getSettings() : $this->setSettings($settings);
|
||||
}
|
||||
|
||||
public function mergeSettings(array $settings)
|
||||
{
|
||||
$this->settings = array_merge($this->settings, $settings);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __call($name, $arguments)
|
||||
{
|
||||
$result = $this->className::$name(...$arguments);
|
||||
|
||||
return $result instanceof CarbonInterface ? $result->settings($this->settings) : $result;
|
||||
}
|
||||
}
|
215
vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
vendored
Normal file
215
vendor/nesbot/carbon/src/Carbon/FactoryImmutable.php
vendored
Normal file
@ -0,0 +1,215 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
namespace Carbon;
|
||||
|
||||
use Closure;
|
||||
|
||||
/**
|
||||
* A factory to generate CarbonImmutable instances with common settings.
|
||||
*
|
||||
* <autodoc generated by `composer phpdoc`>
|
||||
*
|
||||
* @method CarbonImmutable create($year = 0, $month = 1, $day = 1, $hour = 0, $minute = 0, $second = 0, $tz = null) Create a new Carbon instance from a specific date and time.
|
||||
* If any of $year, $month or $day are set to null their now() values will
|
||||
* be used.
|
||||
* If $hour is null it will be set to its now() value and the default
|
||||
* values for $minute and $second will be their now() values.
|
||||
* If $hour is not null then the default values for $minute and $second
|
||||
* will be 0.
|
||||
* @method CarbonImmutable createFromDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to now.
|
||||
* @method CarbonImmutable|false createFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
|
||||
* @method CarbonImmutable|false createFromIsoFormat($format, $time, $tz = null, $locale = 'en', $translator = null) Create a Carbon instance from a specific ISO format (same replacements as ->isoFormat()).
|
||||
* @method CarbonImmutable|false createFromLocaleFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific format and a string in a given language.
|
||||
* @method CarbonImmutable|false createFromLocaleIsoFormat($format, $locale, $time, $tz = null) Create a Carbon instance from a specific ISO format and a string in a given language.
|
||||
* @method CarbonImmutable createFromTime($hour = 0, $minute = 0, $second = 0, $tz = null) Create a Carbon instance from just a time. The date portion is set to today.
|
||||
* @method CarbonImmutable createFromTimeString($time, $tz = null) Create a Carbon instance from a time string. The date portion is set to today.
|
||||
* @method CarbonImmutable createFromTimestamp($timestamp, $tz = null) Create a Carbon instance from a timestamp.
|
||||
* @method CarbonImmutable createFromTimestampMs($timestamp, $tz = null) Create a Carbon instance from a timestamp in milliseconds.
|
||||
* @method CarbonImmutable createFromTimestampUTC($timestamp) Create a Carbon instance from an UTC timestamp.
|
||||
* @method CarbonImmutable createMidnightDate($year = null, $month = null, $day = null, $tz = null) Create a Carbon instance from just a date. The time portion is set to midnight.
|
||||
* @method CarbonImmutable|false createSafe($year = null, $month = null, $day = null, $hour = null, $minute = null, $second = null, $tz = null) Create a new safe Carbon instance from a specific date and time.
|
||||
* If any of $year, $month or $day are set to null their now() values will
|
||||
* be used.
|
||||
* If $hour is null it will be set to its now() value and the default
|
||||
* values for $minute and $second will be their now() values.
|
||||
* If $hour is not null then the default values for $minute and $second
|
||||
* will be 0.
|
||||
* If one of the set values is not valid, an \InvalidArgumentException
|
||||
* will be thrown.
|
||||
* @method CarbonImmutable disableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method CarbonImmutable enableHumanDiffOption($humanDiffOption) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method mixed executeWithLocale($locale, $func) Set the current locale to the given, execute the passed function, reset the locale to previous one,
|
||||
* then return the result of the closure (or null if the closure was void).
|
||||
* @method CarbonImmutable fromSerialized($value) Create an instance from a serialized string.
|
||||
* @method void genericMacro($macro, $priority = 0) Register a custom macro.
|
||||
* @method array getAvailableLocales() Returns the list of internally available locales and already loaded custom locales.
|
||||
* (It will ignore custom translator dynamic loading.)
|
||||
* @method Language[] getAvailableLocalesInfo() Returns list of Language object for each available locale. This object allow you to get the ISO name, native
|
||||
* name, region and variant of the locale.
|
||||
* @method array getDays() Get the days of the week
|
||||
* @method string|null getFallbackLocale() Get the fallback locale.
|
||||
* @method array getFormatsToIsoReplacements() List of replacements from date() format to isoFormat().
|
||||
* @method int getHumanDiffOptions() Return default humanDiff() options (merged flags as integer).
|
||||
* @method array getIsoUnits() Returns list of locale units for ISO formatting.
|
||||
* @method CarbonImmutable getLastErrors() {@inheritdoc}
|
||||
* @method string getLocale() Get the current translator locale.
|
||||
* @method callable|null getMacro($name) Get the raw callable macro registered globally for a given name.
|
||||
* @method int getMidDayAt() get midday/noon hour
|
||||
* @method Closure|CarbonImmutable getTestNow() Get the Carbon instance (real or mock) to be returned when a "now"
|
||||
* instance is created.
|
||||
* @method string getTimeFormatByPrecision($unitPrecision) Return a format from H:i to H:i:s.u according to given unit precision.
|
||||
* @method string getTranslationMessageWith($translator, string $key, string $locale = null, string $default = null) Returns raw translation message for a given key.
|
||||
* @method \Symfony\Component\Translation\TranslatorInterface getTranslator() Get the default translator instance in use.
|
||||
* @method int getWeekEndsAt() Get the last day of week
|
||||
* @method int getWeekStartsAt() Get the first day of week
|
||||
* @method array getWeekendDays() Get weekend days
|
||||
* @method bool hasFormat($date, $format) Checks if the (date)time string is in a given format.
|
||||
* @method bool hasMacro($name) Checks if macro is registered globally.
|
||||
* @method bool hasRelativeKeywords($time) Determine if a time string will produce a relative date.
|
||||
* @method bool hasTestNow() Determine if there is a valid test instance set. A valid test instance
|
||||
* is anything that is not null.
|
||||
* @method CarbonImmutable instance($date) Create a Carbon instance from a DateTime one.
|
||||
* @method bool isImmutable() Returns true if the current class/instance is immutable.
|
||||
* @method bool isModifiableUnit($unit) Returns true if a property can be changed via setter.
|
||||
* @method bool isMutable() Returns true if the current class/instance is mutable.
|
||||
* @method bool isStrictModeEnabled() Returns true if the strict mode is globally in use, false else.
|
||||
* (It can be overridden in specific instances.)
|
||||
* @method bool localeHasDiffOneDayWords($locale) Returns true if the given locale is internally supported and has words for 1-day diff (just now, yesterday, tomorrow).
|
||||
* Support is considered enabled if the 3 words are translated in the given locale.
|
||||
* @method bool localeHasDiffSyntax($locale) Returns true if the given locale is internally supported and has diff syntax support (ago, from now, before, after).
|
||||
* Support is considered enabled if the 4 sentences are translated in the given locale.
|
||||
* @method bool localeHasDiffTwoDayWords($locale) Returns true if the given locale is internally supported and has words for 2-days diff (before yesterday, after tomorrow).
|
||||
* Support is considered enabled if the 2 words are translated in the given locale.
|
||||
* @method bool localeHasPeriodSyntax($locale) Returns true if the given locale is internally supported and has period syntax support (X times, every X, from X, to X).
|
||||
* Support is considered enabled if the 4 sentences are translated in the given locale.
|
||||
* @method bool localeHasShortUnits($locale) Returns true if the given locale is internally supported and has short-units support.
|
||||
* Support is considered enabled if either year, day or hour has a short variant translated.
|
||||
* @method void macro($name, $macro) Register a custom macro.
|
||||
* @method CarbonImmutable|null make($var) Make a Carbon instance from given variable if possible.
|
||||
* Always return a new instance. Parse only strings and only these likely to be dates (skip intervals
|
||||
* and recurrences). Throw an exception for invalid format, but otherwise return null.
|
||||
* @method CarbonImmutable maxValue() Create a Carbon instance for the greatest supported date.
|
||||
* @method CarbonImmutable minValue() Create a Carbon instance for the lowest supported date.
|
||||
* @method void mixin($mixin) Mix another object into the class.
|
||||
* @method CarbonImmutable now($tz = null) Get a Carbon instance for the current date and time.
|
||||
* @method CarbonImmutable parse($time = null, $tz = null) Create a carbon instance from a string.
|
||||
* This is an alias for the constructor that allows better fluent syntax
|
||||
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
|
||||
* than (new Carbon('Monday next week'))->fn().
|
||||
* @method CarbonImmutable parseFromLocale($time, $locale, $tz = null) Create a carbon instance from a localized string (in French, Japanese, Arabic, etc.).
|
||||
* @method string pluralUnit(string $unit) Returns standardized plural of a given singular/plural unit name (in English).
|
||||
* @method CarbonImmutable|false rawCreateFromFormat($format, $time, $tz = null) Create a Carbon instance from a specific format.
|
||||
* @method CarbonImmutable rawParse($time = null, $tz = null) Create a carbon instance from a string.
|
||||
* This is an alias for the constructor that allows better fluent syntax
|
||||
* as it allows you to do Carbon::parse('Monday next week')->fn() rather
|
||||
* than (new Carbon('Monday next week'))->fn().
|
||||
* @method CarbonImmutable resetMacros() Remove all macros and generic macros.
|
||||
* @method void resetMonthsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method void resetToStringFormat() Reset the format used to the default when type juggling a Carbon instance to a string
|
||||
* @method void resetYearsOverflow() @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method void serializeUsing($callback) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather transform Carbon object before the serialization.
|
||||
* JSON serialize all Carbon instances using the given callback.
|
||||
* @method CarbonImmutable setFallbackLocale($locale) Set the fallback locale.
|
||||
* @method CarbonImmutable setHumanDiffOptions($humanDiffOptions) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method bool setLocale($locale) Set the current translator locale and indicate if the source locale file exists.
|
||||
* Pass 'auto' as locale to use closest language from the current LC_TIME locale.
|
||||
* @method void setMidDayAt($hour) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather consider mid-day is always 12pm, then if you need to test if it's an other
|
||||
* hour, test it explicitly:
|
||||
* $date->format('G') == 13
|
||||
* or to set explicitly to a given hour:
|
||||
* $date->setTime(13, 0, 0, 0)
|
||||
* Set midday/noon hour
|
||||
* @method CarbonImmutable setTestNow($testNow = null) Set a Carbon instance (real or mock) to be returned when a "now"
|
||||
* instance is created. The provided instance will be returned
|
||||
* specifically under the following conditions:
|
||||
* - A call to the static now() method, ex. Carbon::now()
|
||||
* - When a null (or blank string) is passed to the constructor or parse(), ex. new Carbon(null)
|
||||
* - When the string "now" is passed to the constructor or parse(), ex. new Carbon('now')
|
||||
* - When a string containing the desired time is passed to Carbon::parse().
|
||||
* Note the timezone parameter was left out of the examples above and
|
||||
* has no affect as the mock value will be returned regardless of its value.
|
||||
* To clear the test instance call this method using the default
|
||||
* parameter of null.
|
||||
* /!\ Use this method for unit tests only.
|
||||
* @method void setToStringFormat($format) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather let Carbon object being casted to string with DEFAULT_TO_STRING_FORMAT, and
|
||||
* use other method or custom format passed to format() method if you need to dump an other string
|
||||
* format.
|
||||
* Set the default format used when type juggling a Carbon instance to a string
|
||||
* @method void setTranslator(\Symfony\Component\Translation\TranslatorInterface $translator) Set the default translator instance to use.
|
||||
* @method CarbonImmutable setUtf8($utf8) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use UTF-8 language packages on every machine.
|
||||
* Set if UTF8 will be used for localized date/time.
|
||||
* @method void setWeekEndsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* Use $weekStartsAt optional parameter instead when using startOfWeek, floorWeek, ceilWeek
|
||||
* or roundWeek method. You can also use the 'first_day_of_week' locale setting to change the
|
||||
* start of week according to current locale selected and implicitly the end of week.
|
||||
* Set the last day of week
|
||||
* @method void setWeekStartsAt($day) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* Use $weekEndsAt optional parameter instead when using endOfWeek method. You can also use the
|
||||
* 'first_day_of_week' locale setting to change the start of week according to current locale
|
||||
* selected and implicitly the end of week.
|
||||
* Set the first day of week
|
||||
* @method void setWeekendDays($days) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather consider week-end is always saturday and sunday, and if you have some custom
|
||||
* week-end days to handle, give to those days an other name and create a macro for them:
|
||||
* ```
|
||||
* Carbon::macro('isDayOff', function ($date) {
|
||||
* return $date->isSunday() || $date->isMonday();
|
||||
* });
|
||||
* Carbon::macro('isNotDayOff', function ($date) {
|
||||
* return !$date->isDayOff();
|
||||
* });
|
||||
* if ($someDate->isDayOff()) ...
|
||||
* if ($someDate->isNotDayOff()) ...
|
||||
* // Add 5 not-off days
|
||||
* $count = 5;
|
||||
* while ($someDate->isDayOff() || ($count-- > 0)) {
|
||||
* $someDate->addDay();
|
||||
* }
|
||||
* ```
|
||||
* Set weekend days
|
||||
* @method bool shouldOverflowMonths() Get the month overflow global behavior (can be overridden in specific instances).
|
||||
* @method bool shouldOverflowYears() Get the month overflow global behavior (can be overridden in specific instances).
|
||||
* @method string singularUnit(string $unit) Returns standardized singular of a given singular/plural unit name (in English).
|
||||
* @method CarbonImmutable today($tz = null) Create a Carbon instance for today.
|
||||
* @method CarbonImmutable tomorrow($tz = null) Create a Carbon instance for tomorrow.
|
||||
* @method string translateTimeString($timeString, $from = null, $to = null, $mode = 15) Translate a time string from a locale to an other.
|
||||
* @method string translateWith(\Symfony\Component\Translation\TranslatorInterface $translator, string $key, array $parameters = [], $number = null) Translate using translation string or callback available.
|
||||
* @method void useMonthsOverflow($monthsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addMonthsWithOverflow/addMonthsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method CarbonImmutable useStrictMode($strictModeEnabled = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* @method void useYearsOverflow($yearsOverflow = true) @deprecated To avoid conflict between different third-party libraries, static setters should not be used.
|
||||
* You should rather use the ->settings() method.
|
||||
* Or you can use method variants: addYearsWithOverflow/addYearsNoOverflow, same variants
|
||||
* are available for quarters, years, decade, centuries, millennia (singular and plural forms).
|
||||
* @method CarbonImmutable yesterday($tz = null) Create a Carbon instance for yesterday.
|
||||
*
|
||||
* </autodoc>
|
||||
*/
|
||||
class FactoryImmutable extends Factory
|
||||
{
|
||||
protected $className = CarbonImmutable::class;
|
||||
}
|
15
vendor/nesbot/carbon/src/Carbon/Lang/aa.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/aa.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/aa_DJ.php';
|
44
vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php
vendored
Normal file
44
vendor/nesbot/carbon/src/Carbon/Lang/aa_DJ.php
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Ge'ez Frontier Foundation locales@geez.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD.MM.YYYY',
|
||||
],
|
||||
'months' => ['Qunxa Garablu', 'Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Liiqen', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
|
||||
'months_short' => ['qun', 'nah', 'cig', 'agd', 'cax', 'qas', 'qad', 'leq', 'way', 'dit', 'xim', 'kax'],
|
||||
'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
|
||||
'weekdays_short' => ['aca', 'etl', 'tal', 'arb', 'kam', 'gum', 'sab'],
|
||||
'weekdays_min' => ['aca', 'etl', 'tal', 'arb', 'kam', 'gum', 'sab'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['saaku', 'carra'],
|
||||
|
||||
'year' => ':count gaqambo', // less reliable
|
||||
'y' => ':count gaqambo', // less reliable
|
||||
'a_year' => ':count gaqambo', // less reliable
|
||||
|
||||
'month' => ':count àlsa',
|
||||
'm' => ':count àlsa',
|
||||
'a_month' => ':count àlsa',
|
||||
|
||||
'day' => ':count saaku', // less reliable
|
||||
'd' => ':count saaku', // less reliable
|
||||
'a_day' => ':count saaku', // less reliable
|
||||
|
||||
'hour' => ':count ayti', // less reliable
|
||||
'h' => ':count ayti', // less reliable
|
||||
'a_hour' => ':count ayti', // less reliable
|
||||
]);
|
28
vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php
vendored
Normal file
28
vendor/nesbot/carbon/src/Carbon/Lang/aa_ER.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Ge'ez Frontier Foundation locales@geez.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YYYY',
|
||||
],
|
||||
'months' => ['Qunxa Garablu', 'Naharsi Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Leqeeni', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
|
||||
'months_short' => ['Qun', 'Nah', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
|
||||
'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
|
||||
'weekdays_short' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
|
||||
'weekdays_min' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['saaku', 'carra'],
|
||||
]);
|
28
vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php
vendored
Normal file
28
vendor/nesbot/carbon/src/Carbon/Lang/aa_ER@saaho.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Ge'ez Frontier Foundation locales@geez.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YYYY',
|
||||
],
|
||||
'months' => ['Qunxa Garablu', 'Naharsi Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Leqeeni', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
|
||||
'months_short' => ['Qun', 'Nah', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
|
||||
'weekdays' => ['Naba Sambat', 'Sani', 'Salus', 'Rabuq', 'Camus', 'Jumqata', 'Qunxa Sambat'],
|
||||
'weekdays_short' => ['Nab', 'San', 'Sal', 'Rab', 'Cam', 'Jum', 'Qun'],
|
||||
'weekdays_min' => ['Nab', 'San', 'Sal', 'Rab', 'Cam', 'Jum', 'Qun'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['saaku', 'carra'],
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/aa_ET.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Ge'ez Frontier Foundation locales@geez.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YYYY',
|
||||
],
|
||||
'months' => ['Qunxa Garablu', 'Kudo', 'Ciggilta Kudo', 'Agda Baxisso', 'Caxah Alsa', 'Qasa Dirri', 'Qado Dirri', 'Liiqen', 'Waysu', 'Diteli', 'Ximoli', 'Kaxxa Garablu'],
|
||||
'months_short' => ['Qun', 'Kud', 'Cig', 'Agd', 'Cax', 'Qas', 'Qad', 'Leq', 'Way', 'Dit', 'Xim', 'Kax'],
|
||||
'weekdays' => ['Acaada', 'Etleeni', 'Talaata', 'Arbaqa', 'Kamiisi', 'Gumqata', 'Sabti'],
|
||||
'weekdays_short' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
|
||||
'weekdays_min' => ['Aca', 'Etl', 'Tal', 'Arb', 'Kam', 'Gum', 'Sab'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['saaku', 'carra'],
|
||||
]);
|
75
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
Normal file
75
vendor/nesbot/carbon/src/Carbon/Lang/af.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - François B
|
||||
* - JD Isaacks
|
||||
* - Pierre du Plessis
|
||||
*/
|
||||
return [
|
||||
'year' => ':count jaar',
|
||||
'a_year' => '\'n jaar|:count jaar',
|
||||
'y' => ':count j.',
|
||||
'month' => ':count maand|:count maande',
|
||||
'a_month' => '\'n maand|:count maande',
|
||||
'm' => ':count maa.',
|
||||
'week' => ':count week|:count weke',
|
||||
'a_week' => '\'n week|:count weke',
|
||||
'w' => ':count w.',
|
||||
'day' => ':count dag|:count dae',
|
||||
'a_day' => '\'n dag|:count dae',
|
||||
'd' => ':count d.',
|
||||
'hour' => ':count uur',
|
||||
'a_hour' => '\'n uur|:count uur',
|
||||
'h' => ':count u.',
|
||||
'minute' => ':count minuut|:count minute',
|
||||
'a_minute' => '\'n minuut|:count minute',
|
||||
'min' => ':count min.',
|
||||
'second' => ':count sekond|:count sekondes',
|
||||
'a_second' => '\'n paar sekondes|:count sekondes',
|
||||
's' => ':count s.',
|
||||
'ago' => ':time gelede',
|
||||
'from_now' => 'oor :time',
|
||||
'after' => ':time na',
|
||||
'before' => ':time voor',
|
||||
'diff_now' => 'Nou',
|
||||
'diff_yesterday' => 'Gister',
|
||||
'diff_tomorrow' => 'Môre',
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[Vandag om] LT',
|
||||
'nextDay' => '[Môre om] LT',
|
||||
'nextWeek' => 'dddd [om] LT',
|
||||
'lastDay' => '[Gister om] LT',
|
||||
'lastWeek' => '[Laas] dddd [om] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'ordinal' => function ($number) {
|
||||
return $number.(($number === 1 || $number === 8 || $number >= 20) ? 'ste' : 'de');
|
||||
},
|
||||
'meridiem' => ['VM', 'NM'],
|
||||
'months' => ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'],
|
||||
'months_short' => ['Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Des'],
|
||||
'weekdays' => ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
|
||||
'weekdays_short' => ['Son', 'Maa', 'Din', 'Woe', 'Don', 'Vry', 'Sat'],
|
||||
'weekdays_min' => ['So', 'Ma', 'Di', 'Wo', 'Do', 'Vr', 'Sa'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 4,
|
||||
'list' => [', ', ' en '],
|
||||
];
|
27
vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/af_NA.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/af.php', [
|
||||
'meridiem' => ['v', 'n'],
|
||||
'weekdays' => ['Sondag', 'Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrydag', 'Saterdag'],
|
||||
'weekdays_short' => ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'],
|
||||
'weekdays_min' => ['So.', 'Ma.', 'Di.', 'Wo.', 'Do.', 'Vr.', 'Sa.'],
|
||||
'months' => ['Januarie', 'Februarie', 'Maart', 'April', 'Mei', 'Junie', 'Julie', 'Augustus', 'September', 'Oktober', 'November', 'Desember'],
|
||||
'months_short' => ['Jan.', 'Feb.', 'Mrt.', 'Apr.', 'Mei', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Okt.', 'Nov.', 'Des.'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'YYYY-MM-DD',
|
||||
'LL' => 'DD MMM YYYY',
|
||||
'LLL' => 'DD MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd, DD MMMM YYYY HH:mm',
|
||||
],
|
||||
]);
|
11
vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
vendored
Normal file
11
vendor/nesbot/carbon/src/Carbon/Lang/af_ZA.php
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return require __DIR__.'/af.php';
|
27
vendor/nesbot/carbon/src/Carbon/Lang/agq.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/agq.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'meridiem' => ['a.g', 'a.k'],
|
||||
'weekdays' => ['tsuʔntsɨ', 'tsuʔukpà', 'tsuʔughɔe', 'tsuʔutɔ̀mlò', 'tsuʔumè', 'tsuʔughɨ̂m', 'tsuʔndzɨkɔʔɔ'],
|
||||
'weekdays_short' => ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'],
|
||||
'weekdays_min' => ['nts', 'kpa', 'ghɔ', 'tɔm', 'ume', 'ghɨ', 'dzk'],
|
||||
'months' => ['ndzɔ̀ŋɔ̀nùm', 'ndzɔ̀ŋɔ̀kƗ̀zùʔ', 'ndzɔ̀ŋɔ̀tƗ̀dʉ̀ghà', 'ndzɔ̀ŋɔ̀tǎafʉ̄ghā', 'ndzɔ̀ŋèsèe', 'ndzɔ̀ŋɔ̀nzùghò', 'ndzɔ̀ŋɔ̀dùmlo', 'ndzɔ̀ŋɔ̀kwîfɔ̀e', 'ndzɔ̀ŋɔ̀tƗ̀fʉ̀ghàdzughù', 'ndzɔ̀ŋɔ̀ghǔuwelɔ̀m', 'ndzɔ̀ŋɔ̀chwaʔàkaa wo', 'ndzɔ̀ŋèfwòo'],
|
||||
'months_short' => ['nùm', 'kɨz', 'tɨd', 'taa', 'see', 'nzu', 'dum', 'fɔe', 'dzu', 'lɔm', 'kaa', 'fwo'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'D/M/YYYY',
|
||||
'LL' => 'D MMM, YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/agr.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/agr.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/agr_PE.php';
|
44
vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php
vendored
Normal file
44
vendor/nesbot/carbon/src/Carbon/Lang/agr_PE.php
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - somosazucar.org libc-alpha@sourceware.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YY',
|
||||
],
|
||||
'months' => ['Petsatin', 'Kupitin', 'Uyaitin', 'Tayutin', 'Kegketin', 'Tegmatin', 'Kuntutin', 'Yagkujutin', 'Daiktatin', 'Ipamtatin', 'Shinutin', 'Sakamtin'],
|
||||
'months_short' => ['Pet', 'Kup', 'Uya', 'Tay', 'Keg', 'Teg', 'Kun', 'Yag', 'Dait', 'Ipam', 'Shin', 'Sak'],
|
||||
'weekdays' => ['Tuntuamtin', 'Achutin', 'Kugkuktin', 'Saketin', 'Shimpitin', 'Imaptin', 'Bataetin'],
|
||||
'weekdays_short' => ['Tun', 'Ach', 'Kug', 'Sak', 'Shim', 'Im', 'Bat'],
|
||||
'weekdays_min' => ['Tun', 'Ach', 'Kug', 'Sak', 'Shim', 'Im', 'Bat'],
|
||||
'first_day_of_week' => 0,
|
||||
'day_of_first_week_of_year' => 7,
|
||||
'meridiem' => ['VM', 'NM'],
|
||||
|
||||
'year' => ':count yaya', // less reliable
|
||||
'y' => ':count yaya', // less reliable
|
||||
'a_year' => ':count yaya', // less reliable
|
||||
|
||||
'month' => ':count nantu', // less reliable
|
||||
'm' => ':count nantu', // less reliable
|
||||
'a_month' => ':count nantu', // less reliable
|
||||
|
||||
'day' => ':count nayaim', // less reliable
|
||||
'd' => ':count nayaim', // less reliable
|
||||
'a_day' => ':count nayaim', // less reliable
|
||||
|
||||
'hour' => ':count kuwiš', // less reliable
|
||||
'h' => ':count kuwiš', // less reliable
|
||||
'a_hour' => ':count kuwiš', // less reliable
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/ak.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/ak.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/ak_GH.php';
|
40
vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php
vendored
Normal file
40
vendor/nesbot/carbon/src/Carbon/Lang/ak_GH.php
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Sugar Labs // OLPC sugarlabs.org libc-alpha@sourceware.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'YYYY/MM/DD',
|
||||
],
|
||||
'months' => ['Sanda-Ɔpɛpɔn', 'Kwakwar-Ɔgyefuo', 'Ebɔw-Ɔbenem', 'Ebɔbira-Oforisuo', 'Esusow Aketseaba-Kɔtɔnimba', 'Obirade-Ayɛwohomumu', 'Ayɛwoho-Kitawonsa', 'Difuu-Ɔsandaa', 'Fankwa-Ɛbɔ', 'Ɔbɛsɛ-Ahinime', 'Ɔberɛfɛw-Obubuo', 'Mumu-Ɔpɛnimba'],
|
||||
'months_short' => ['S-Ɔ', 'K-Ɔ', 'E-Ɔ', 'E-O', 'E-K', 'O-A', 'A-K', 'D-Ɔ', 'F-Ɛ', 'Ɔ-A', 'Ɔ-O', 'M-Ɔ'],
|
||||
'weekdays' => ['Kwesida', 'Dwowda', 'Benada', 'Wukuda', 'Yawda', 'Fida', 'Memeneda'],
|
||||
'weekdays_short' => ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'],
|
||||
'weekdays_min' => ['Kwe', 'Dwo', 'Ben', 'Wuk', 'Yaw', 'Fia', 'Mem'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['AN', 'EW'],
|
||||
|
||||
'year' => ':count afe',
|
||||
'y' => ':count afe',
|
||||
'a_year' => ':count afe',
|
||||
|
||||
'month' => ':count bosume',
|
||||
'm' => ':count bosume',
|
||||
'a_month' => ':count bosume',
|
||||
|
||||
'day' => ':count ɛda',
|
||||
'd' => ':count ɛda',
|
||||
'a_day' => ':count ɛda',
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/am.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/am.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/am_ET.php';
|
58
vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php
vendored
Normal file
58
vendor/nesbot/carbon/src/Carbon/Lang/am_ET.php
vendored
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Ge'ez Frontier Foundation locales@geez.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YYYY',
|
||||
],
|
||||
'months' => ['ጃንዩወሪ', 'ፌብሩወሪ', 'ማርች', 'ኤፕሪል', 'ሜይ', 'ጁን', 'ጁላይ', 'ኦገስት', 'ሴፕቴምበር', 'ኦክቶበር', 'ኖቬምበር', 'ዲሴምበር'],
|
||||
'months_short' => ['ጃንዩ', 'ፌብሩ', 'ማርች', 'ኤፕረ', 'ሜይ ', 'ጁን ', 'ጁላይ', 'ኦገስ', 'ሴፕቴ', 'ኦክተ', 'ኖቬም', 'ዲሴም'],
|
||||
'weekdays' => ['እሑድ', 'ሰኞ', 'ማክሰኞ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
|
||||
'weekdays_short' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
|
||||
'weekdays_min' => ['እሑድ', 'ሰኞ ', 'ማክሰ', 'ረቡዕ', 'ሐሙስ', 'ዓርብ', 'ቅዳሜ'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['ጡዋት', 'ከሰዓት'],
|
||||
|
||||
'year' => ':count አመት',
|
||||
'y' => ':count አመት',
|
||||
'a_year' => ':count አመት',
|
||||
|
||||
'month' => ':count ወር',
|
||||
'm' => ':count ወር',
|
||||
'a_month' => ':count ወር',
|
||||
|
||||
'week' => ':count ሳምንት',
|
||||
'w' => ':count ሳምንት',
|
||||
'a_week' => ':count ሳምንት',
|
||||
|
||||
'day' => ':count ቀን',
|
||||
'd' => ':count ቀን',
|
||||
'a_day' => ':count ቀን',
|
||||
|
||||
'hour' => ':count ሰዓት',
|
||||
'h' => ':count ሰዓት',
|
||||
'a_hour' => ':count ሰዓት',
|
||||
|
||||
'minute' => ':count ደቂቃ',
|
||||
'min' => ':count ደቂቃ',
|
||||
'a_minute' => ':count ደቂቃ',
|
||||
|
||||
'second' => ':count ሴኮንድ',
|
||||
's' => ':count ሴኮንድ',
|
||||
'a_second' => ':count ሴኮንድ',
|
||||
|
||||
'ago' => 'ከ:time በፊት',
|
||||
'from_now' => 'በ:time ውስጥ',
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/an.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/an.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/an_ES.php';
|
55
vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php
vendored
Normal file
55
vendor/nesbot/carbon/src/Carbon/Lang/an_ES.php
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Softaragones Jordi Mallach Pérez, Juan Pablo Martínez bug-glibc-locales@gnu.org, softaragones@softaragones.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YYYY',
|
||||
],
|
||||
'months' => ['chinero', 'febrero', 'marzo', 'abril', 'mayo', 'chunyo', 'chuliol', 'agosto', 'setiembre', 'octubre', 'noviembre', 'aviento'],
|
||||
'months_short' => ['chi', 'feb', 'mar', 'abr', 'may', 'chn', 'chl', 'ago', 'set', 'oct', 'nov', 'avi'],
|
||||
'weekdays' => ['domingo', 'luns', 'martes', 'mierques', 'chueves', 'viernes', 'sabado'],
|
||||
'weekdays_short' => ['dom', 'lun', 'mar', 'mie', 'chu', 'vie', 'sab'],
|
||||
'weekdays_min' => ['dom', 'lun', 'mar', 'mie', 'chu', 'vie', 'sab'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 4,
|
||||
|
||||
'year' => ':count año',
|
||||
'y' => ':count año',
|
||||
'a_year' => ':count año',
|
||||
|
||||
'month' => ':count mes',
|
||||
'm' => ':count mes',
|
||||
'a_month' => ':count mes',
|
||||
|
||||
'week' => ':count semana',
|
||||
'w' => ':count semana',
|
||||
'a_week' => ':count semana',
|
||||
|
||||
'day' => ':count día',
|
||||
'd' => ':count día',
|
||||
'a_day' => ':count día',
|
||||
|
||||
'hour' => ':count reloch', // less reliable
|
||||
'h' => ':count reloch', // less reliable
|
||||
'a_hour' => ':count reloch', // less reliable
|
||||
|
||||
'minute' => ':count minuto',
|
||||
'min' => ':count minuto',
|
||||
'a_minute' => ':count minuto',
|
||||
|
||||
'second' => ':count segundo',
|
||||
's' => ':count segundo',
|
||||
'a_second' => ':count segundo',
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/anp.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/anp.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/anp_IN.php';
|
27
vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/anp_IN.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - bhashaghar@googlegroups.com
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'D/M/YY',
|
||||
],
|
||||
'months' => ['जनवरी', 'फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्टूबर', 'नवंबर', 'दिसंबर"'],
|
||||
'months_short' => ['जनवरी', 'फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितंबर', 'अक्टूबर', 'नवंबर', 'दिसंबर'],
|
||||
'weekdays' => ['रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'बृहस्पतिवार', 'शुक्रवार', 'शनिवार'],
|
||||
'weekdays_short' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'],
|
||||
'weekdays_min' => ['रवि', 'सोम', 'मंगल', 'बुध', 'बृहस्पति', 'शुक्र', 'शनि'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['पूर्वाह्न', 'अपराह्न'],
|
||||
]);
|
89
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
Normal file
89
vendor/nesbot/carbon/src/Carbon/Lang/ar.php
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Ibrahim AshShohail
|
||||
* - MLTDev
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
* - Yazan Alnugnugh (yazan-alnugnugh)
|
||||
*/
|
||||
$months = [
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'مايو',
|
||||
'يونيو',
|
||||
'يوليو',
|
||||
'أغسطس',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => ':time من الآن',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'D/M/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم عند الساعة] LT',
|
||||
'nextDay' => '[غدًا عند الساعة] LT',
|
||||
'nextWeek' => 'dddd [عند الساعة] LT',
|
||||
'lastDay' => '[أمس عند الساعة] LT',
|
||||
'lastWeek' => 'dddd [عند الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_AE.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت '],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_BH.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_DJ.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php
vendored
Normal file
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_DZ.php
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - Noureddine LOUAHEDJ
|
||||
* - JD Isaacks
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
$months = [
|
||||
'جانفي',
|
||||
'فيفري',
|
||||
'مارس',
|
||||
'أفريل',
|
||||
'ماي',
|
||||
'جوان',
|
||||
'جويلية',
|
||||
'أوت',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'في :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['أح', 'إث', 'ثلا', 'أر', 'خم', 'جم', 'سب'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 0,
|
||||
'day_of_first_week_of_year' => 4,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم على الساعة] LT',
|
||||
'nextDay' => '[غدا على الساعة] LT',
|
||||
'nextWeek' => 'dddd [على الساعة] LT',
|
||||
'lastDay' => '[أمس على الساعة] LT',
|
||||
'lastWeek' => 'dddd [على الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
];
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_EG.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_EH.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_ER.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_IL.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
26
vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php
vendored
Normal file
26
vendor/nesbot/carbon/src/Carbon/Lang/ar_IN.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'D/M/YY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_IQ.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_JO.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_KM.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
89
vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php
vendored
Normal file
89
vendor/nesbot/carbon/src/Carbon/Lang/ar_KW.php
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - Nusret Parlak
|
||||
* - JD Isaacks
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
$months = [
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'ماي',
|
||||
'يونيو',
|
||||
'يوليوز',
|
||||
'غشت',
|
||||
'شتنبر',
|
||||
'أكتوبر',
|
||||
'نونبر',
|
||||
'دجنبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'في :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 0,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم على الساعة] LT',
|
||||
'nextDay' => '[غدا على الساعة] LT',
|
||||
'nextWeek' => 'dddd [على الساعة] LT',
|
||||
'lastDay' => '[أمس على الساعة] LT',
|
||||
'lastWeek' => 'dddd [على الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_LB.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php
vendored
Normal file
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_LY.php
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Ibrahim AshShohail
|
||||
* - MLTDev
|
||||
*/
|
||||
|
||||
$months = [
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'مايو',
|
||||
'يونيو',
|
||||
'يوليو',
|
||||
'أغسطس',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
|
||||
'a_year' => implode('|', [':count سنة', 'سنة', 'سنتين', ':count سنوات', ':count سنة']),
|
||||
'month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
|
||||
'a_month' => implode('|', [':count شهر', 'شهر', 'شهرين', ':count أشهر', ':count شهر']),
|
||||
'week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
|
||||
'a_week' => implode('|', [':count أسبوع', 'أسبوع', 'أسبوعين', ':count أسابيع', ':count أسبوع']),
|
||||
'day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
|
||||
'a_day' => implode('|', [':count يوم', 'يوم', 'يومين', ':count أيام', ':count يوم']),
|
||||
'hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
|
||||
'a_hour' => implode('|', [':count ساعة', 'ساعة', 'ساعتين', ':count ساعات', ':count ساعة']),
|
||||
'minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
|
||||
'a_minute' => implode('|', [':count دقيقة', 'دقيقة', 'دقيقتين', ':count دقائق', ':count دقيقة']),
|
||||
'second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':count ثانية']),
|
||||
'a_second' => implode('|', [':count ثانية', 'ثانية', 'ثانيتين', ':count ثواني', ':count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => ':time من الآن',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['مرة', 'مرة', ':count مرتين', ':count مرات', ':count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'D/M/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم عند الساعة] LT',
|
||||
'nextDay' => '[غدًا عند الساعة] LT',
|
||||
'nextWeek' => 'dddd [عند الساعة] LT',
|
||||
'lastDay' => '[أمس عند الساعة] LT',
|
||||
'lastWeek' => 'dddd [عند الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php
vendored
Normal file
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_MA.php
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - JD Isaacks
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
$months = [
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'ماي',
|
||||
'يونيو',
|
||||
'يوليوز',
|
||||
'غشت',
|
||||
'شتنبر',
|
||||
'أكتوبر',
|
||||
'نونبر',
|
||||
'دجنبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'في :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم على الساعة] LT',
|
||||
'nextDay' => '[غدا على الساعة] LT',
|
||||
'nextWeek' => 'dddd [على الساعة] LT',
|
||||
'lastDay' => '[أمس على الساعة] LT',
|
||||
'lastWeek' => 'dddd [على الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_MR.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_OM.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_PS.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_QA.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php
vendored
Normal file
88
vendor/nesbot/carbon/src/Carbon/Lang/ar_SA.php
vendored
Normal file
@ -0,0 +1,88 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - JD Isaacks
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
$months = [
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'مايو',
|
||||
'يونيو',
|
||||
'يوليو',
|
||||
'أغسطس',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'في :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم على الساعة] LT',
|
||||
'nextDay' => '[غدا على الساعة] LT',
|
||||
'nextWeek' => 'dddd [على الساعة] LT',
|
||||
'lastDay' => '[أمس على الساعة] LT',
|
||||
'lastWeek' => 'dddd [على الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SD.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_SO.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SS.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ar_SY.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'months_short' => ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'أيار', 'حزيران', 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
91
vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
vendored
Normal file
91
vendor/nesbot/carbon/src/Carbon/Lang/ar_Shakl.php
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Abdellah Chadidi
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
// Same for long and short
|
||||
$months = [
|
||||
// @TODO add shakl to months
|
||||
'يناير',
|
||||
'فبراير',
|
||||
'مارس',
|
||||
'أبريل',
|
||||
'مايو',
|
||||
'يونيو',
|
||||
'يوليو',
|
||||
'أغسطس',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سَنَة', '{1}سَنَة', '{2}سَنَتَيْن', ']2,11[:count سَنَوَات', ']10,Inf[:count سَنَة']),
|
||||
'a_year' => implode('|', ['{0}:count سَنَة', '{1}سَنَة', '{2}سَنَتَيْن', ']2,11[:count سَنَوَات', ']10,Inf[:count سَنَة']),
|
||||
'month' => implode('|', ['{0}:count شَهْرَ', '{1}شَهْرَ', '{2}شَهْرَيْن', ']2,11[:count أَشْهُر', ']10,Inf[:count شَهْرَ']),
|
||||
'a_month' => implode('|', ['{0}:count شَهْرَ', '{1}شَهْرَ', '{2}شَهْرَيْن', ']2,11[:count أَشْهُر', ']10,Inf[:count شَهْرَ']),
|
||||
'week' => implode('|', ['{0}:count أُسْبُوع', '{1}أُسْبُوع', '{2}أُسْبُوعَيْن', ']2,11[:count أَسَابِيع', ']10,Inf[:count أُسْبُوع']),
|
||||
'a_week' => implode('|', ['{0}:count أُسْبُوع', '{1}أُسْبُوع', '{2}أُسْبُوعَيْن', ']2,11[:count أَسَابِيع', ']10,Inf[:count أُسْبُوع']),
|
||||
'day' => implode('|', ['{0}:count يَوْم', '{1}يَوْم', '{2}يَوْمَيْن', ']2,11[:count أَيَّام', ']10,Inf[:count يَوْم']),
|
||||
'a_day' => implode('|', ['{0}:count يَوْم', '{1}يَوْم', '{2}يَوْمَيْن', ']2,11[:count أَيَّام', ']10,Inf[:count يَوْم']),
|
||||
'hour' => implode('|', ['{0}:count سَاعَة', '{1}سَاعَة', '{2}سَاعَتَيْن', ']2,11[:count سَاعَات', ']10,Inf[:count سَاعَة']),
|
||||
'a_hour' => implode('|', ['{0}:count سَاعَة', '{1}سَاعَة', '{2}سَاعَتَيْن', ']2,11[:count سَاعَات', ']10,Inf[:count سَاعَة']),
|
||||
'minute' => implode('|', ['{0}:count دَقِيقَة', '{1}دَقِيقَة', '{2}دَقِيقَتَيْن', ']2,11[:count دَقَائِق', ']10,Inf[:count دَقِيقَة']),
|
||||
'a_minute' => implode('|', ['{0}:count دَقِيقَة', '{1}دَقِيقَة', '{2}دَقِيقَتَيْن', ']2,11[:count دَقَائِق', ']10,Inf[:count دَقِيقَة']),
|
||||
'second' => implode('|', ['{0}:count ثَانِيَة', '{1}ثَانِيَة', '{2}ثَانِيَتَيْن', ']2,11[:count ثَوَان', ']10,Inf[:count ثَانِيَة']),
|
||||
'a_second' => implode('|', ['{0}:count ثَانِيَة', '{1}ثَانِيَة', '{2}ثَانِيَتَيْن', ']2,11[:count ثَوَان', ']10,Inf[:count ثَانِيَة']),
|
||||
'ago' => 'مُنْذُ :time',
|
||||
'from_now' => 'مِنَ الْآن :time',
|
||||
'after' => 'بَعْدَ :time',
|
||||
'before' => 'قَبْلَ :time',
|
||||
|
||||
// @TODO add shakl to translations below
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'اث', 'ثل', 'أر', 'خم', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'D/M/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم عند الساعة] LT',
|
||||
'nextDay' => '[غدًا عند الساعة] LT',
|
||||
'nextWeek' => 'dddd [عند الساعة] LT',
|
||||
'lastDay' => '[أمس عند الساعة] LT',
|
||||
'lastWeek' => 'dddd [عند الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
vendored
Normal file
12
vendor/nesbot/carbon/src/Carbon/Lang/ar_TD.php
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
]);
|
87
vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php
vendored
Normal file
87
vendor/nesbot/carbon/src/Carbon/Lang/ar_TN.php
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Authors:
|
||||
* - JD Isaacks
|
||||
* - Atef Ben Ali (atefBB)
|
||||
* - Mohamed Sabil (mohamedsabil83)
|
||||
*/
|
||||
$months = [
|
||||
'جانفي',
|
||||
'فيفري',
|
||||
'مارس',
|
||||
'أفريل',
|
||||
'ماي',
|
||||
'جوان',
|
||||
'جويلية',
|
||||
'أوت',
|
||||
'سبتمبر',
|
||||
'أكتوبر',
|
||||
'نوفمبر',
|
||||
'ديسمبر',
|
||||
];
|
||||
|
||||
return [
|
||||
'year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'a_year' => implode('|', ['{0}:count سنة', '{1}سنة', '{2}سنتين', ']2,11[:count سنوات', ']10,Inf[:count سنة']),
|
||||
'month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'a_month' => implode('|', ['{0}:count شهر', '{1}شهر', '{2}شهرين', ']2,11[:count أشهر', ']10,Inf[:count شهر']),
|
||||
'week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'a_week' => implode('|', ['{0}:count أسبوع', '{1}أسبوع', '{2}أسبوعين', ']2,11[:count أسابيع', ']10,Inf[:count أسبوع']),
|
||||
'day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'a_day' => implode('|', ['{0}:count يوم', '{1}يوم', '{2}يومين', ']2,11[:count أيام', ']10,Inf[:count يوم']),
|
||||
'hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'a_hour' => implode('|', ['{0}:count ساعة', '{1}ساعة', '{2}ساعتين', ']2,11[:count ساعات', ']10,Inf[:count ساعة']),
|
||||
'minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'a_minute' => implode('|', ['{0}:count دقيقة', '{1}دقيقة', '{2}دقيقتين', ']2,11[:count دقائق', ']10,Inf[:count دقيقة']),
|
||||
'second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'a_second' => implode('|', ['{0}:count ثانية', '{1}ثانية', '{2}ثانيتين', ']2,11[:count ثواني', ']10,Inf[:count ثانية']),
|
||||
'ago' => 'منذ :time',
|
||||
'from_now' => 'في :time',
|
||||
'after' => 'بعد :time',
|
||||
'before' => 'قبل :time',
|
||||
'diff_now' => 'الآن',
|
||||
'diff_yesterday' => 'أمس',
|
||||
'diff_tomorrow' => 'غداً',
|
||||
'diff_before_yesterday' => 'قبل الأمس',
|
||||
'diff_after_tomorrow' => 'بعد غد',
|
||||
'period_recurrences' => implode('|', ['{0}مرة', '{1}مرة', '{2}:count مرتين', ']2,11[:count مرات', ']10,Inf[:count مرة']),
|
||||
'period_interval' => 'كل :interval',
|
||||
'period_start_date' => 'من :date',
|
||||
'period_end_date' => 'إلى :date',
|
||||
'months' => $months,
|
||||
'months_short' => $months,
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'list' => ['، ', ' و '],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 4,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[اليوم على الساعة] LT',
|
||||
'nextDay' => '[غدا على الساعة] LT',
|
||||
'nextWeek' => 'dddd [على الساعة] LT',
|
||||
'lastDay' => '[أمس على الساعة] LT',
|
||||
'lastWeek' => 'dddd [على الساعة] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'meridiem' => ['ص', 'م'],
|
||||
'weekend' => [5, 6],
|
||||
];
|
26
vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php
vendored
Normal file
26
vendor/nesbot/carbon/src/Carbon/Lang/ar_YE.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - IBM Globalization Center of Competency, Yamato Software Laboratory bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/ar.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD MMM, YYYY',
|
||||
],
|
||||
'months' => ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو', 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
|
||||
'months_short' => ['ينا', 'فبر', 'مار', 'أبر', 'ماي', 'يون', 'يول', 'أغس', 'سبت', 'أكت', 'نوف', 'ديس'],
|
||||
'weekdays' => ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
|
||||
'weekdays_short' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'weekdays_min' => ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/as.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/as.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/as_IN.php';
|
55
vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php
vendored
Normal file
55
vendor/nesbot/carbon/src/Carbon/Lang/as_IN.php
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Amitakhya Phukan, Red Hat bug-glibc@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'D-MM-YYYY',
|
||||
],
|
||||
'months' => ['জানুৱাৰী', 'ফেব্ৰুৱাৰী', 'মাৰ্চ', 'এপ্ৰিল', 'মে', 'জুন', 'জুলাই', 'আগষ্ট', 'ছেপ্তেম্বৰ', 'অক্টোবৰ', 'নৱেম্বৰ', 'ডিচেম্বৰ'],
|
||||
'months_short' => ['জানু', 'ফেব্ৰু', 'মাৰ্চ', 'এপ্ৰিল', 'মে', 'জুন', 'জুলাই', 'আগ', 'সেপ্ট', 'অক্টো', 'নভে', 'ডিসে'],
|
||||
'weekdays' => ['দেওবাৰ', 'সোমবাৰ', 'মঙ্গলবাৰ', 'বুধবাৰ', 'বৃহষ্পতিবাৰ', 'শুক্ৰবাৰ', 'শনিবাৰ'],
|
||||
'weekdays_short' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'],
|
||||
'weekdays_min' => ['দেও', 'সোম', 'মঙ্গল', 'বুধ', 'বৃহষ্পতি', 'শুক্ৰ', 'শনি'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['পূৰ্ব্বাহ্ন', 'অপৰাহ্ন'],
|
||||
|
||||
'year' => ':count বছৰ',
|
||||
'y' => ':count বছৰ',
|
||||
'a_year' => ':count বছৰ',
|
||||
|
||||
'month' => ':count মাহ',
|
||||
'm' => ':count মাহ',
|
||||
'a_month' => ':count মাহ',
|
||||
|
||||
'week' => ':count সপ্তাহ',
|
||||
'w' => ':count সপ্তাহ',
|
||||
'a_week' => ':count সপ্তাহ',
|
||||
|
||||
'day' => ':count বাৰ',
|
||||
'd' => ':count বাৰ',
|
||||
'a_day' => ':count বাৰ',
|
||||
|
||||
'hour' => ':count ঘণ্টা',
|
||||
'h' => ':count ঘণ্টা',
|
||||
'a_hour' => ':count ঘণ্টা',
|
||||
|
||||
'minute' => ':count মিনিট',
|
||||
'min' => ':count মিনিট',
|
||||
'a_minute' => ':count মিনিট',
|
||||
|
||||
'second' => ':count দ্বিতীয়',
|
||||
's' => ':count দ্বিতীয়',
|
||||
'a_second' => ':count দ্বিতীয়',
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/asa.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/asa.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'meridiem' => ['icheheavo', 'ichamthi'],
|
||||
'weekdays' => ['Jumapili', 'Jumatatu', 'Jumanne', 'Jumatano', 'Alhamisi', 'Ijumaa', 'Jumamosi'],
|
||||
'weekdays_short' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'],
|
||||
'weekdays_min' => ['Jpi', 'Jtt', 'Jnn', 'Jtn', 'Alh', 'Ijm', 'Jmo'],
|
||||
'months' => ['Januari', 'Februari', 'Machi', 'Aprili', 'Mei', 'Juni', 'Julai', 'Agosti', 'Septemba', 'Oktoba', 'Novemba', 'Desemba'],
|
||||
'months_short' => ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ago', 'Sep', 'Okt', 'Nov', 'Dec'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
|
||||
],
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/ast.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/ast.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/ast_ES.php';
|
55
vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php
vendored
Normal file
55
vendor/nesbot/carbon/src/Carbon/Lang/ast_ES.php
vendored
Normal file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Jordi Mallach jordi@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YY',
|
||||
],
|
||||
'months' => ['de xineru', 'de febreru', 'de marzu', 'd’abril', 'de mayu', 'de xunu', 'de xunetu', 'd’agostu', 'de setiembre', 'd’ochobre', 'de payares', 'd’avientu'],
|
||||
'months_short' => ['xin', 'feb', 'mar', 'abr', 'may', 'xun', 'xnt', 'ago', 'set', 'och', 'pay', 'avi'],
|
||||
'weekdays' => ['domingu', 'llunes', 'martes', 'miércoles', 'xueves', 'vienres', 'sábadu'],
|
||||
'weekdays_short' => ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'],
|
||||
'weekdays_min' => ['dom', 'llu', 'mar', 'mié', 'xue', 'vie', 'sáb'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 4,
|
||||
|
||||
'year' => ':count añu',
|
||||
'y' => ':count añu',
|
||||
'a_year' => ':count añu',
|
||||
|
||||
'month' => ':count mes',
|
||||
'm' => ':count mes',
|
||||
'a_month' => ':count mes',
|
||||
|
||||
'week' => ':count selmana',
|
||||
'w' => ':count selmana',
|
||||
'a_week' => ':count selmana',
|
||||
|
||||
'day' => ':count día',
|
||||
'd' => ':count día',
|
||||
'a_day' => ':count día',
|
||||
|
||||
'hour' => ':count hora',
|
||||
'h' => ':count hora',
|
||||
'a_hour' => ':count hora',
|
||||
|
||||
'minute' => ':count minutu',
|
||||
'min' => ':count minutu',
|
||||
'a_minute' => ':count minutu',
|
||||
|
||||
'second' => ':count segundu',
|
||||
's' => ':count segundu',
|
||||
'a_second' => ':count segundu',
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/ayc.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/ayc.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/ayc_PE.php';
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ayc_PE.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - runasimipi.org libc-alpha@sourceware.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD/MM/YY',
|
||||
],
|
||||
'months' => ['inïru', 'phiwriru', 'marsu', 'awrila', 'mayu', 'junyu', 'julyu', 'awustu', 'sitimri', 'uktuwri', 'nuwimri', 'risimri'],
|
||||
'months_short' => ['ini', 'phi', 'mar', 'awr', 'may', 'jun', 'jul', 'awu', 'sit', 'ukt', 'nuw', 'ris'],
|
||||
'weekdays' => ['tuminku', 'lunisa', 'martisa', 'mirkulisa', 'juywisa', 'wirnisa', 'sawäru'],
|
||||
'weekdays_short' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'],
|
||||
'weekdays_min' => ['tum', 'lun', 'mar', 'mir', 'juy', 'wir', 'saw'],
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['VM', 'NM'],
|
||||
]);
|
125
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
Normal file
125
vendor/nesbot/carbon/src/Carbon/Lang/az.php
vendored
Normal file
@ -0,0 +1,125 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - Kunal Marwaha
|
||||
* - François B
|
||||
* - JD Isaacks
|
||||
* - Orxan
|
||||
* - Şəhriyar İmanov
|
||||
* - Baran Şengül
|
||||
*/
|
||||
return [
|
||||
'year' => ':count il',
|
||||
'a_year' => '{1}bir il|]1,Inf[:count il',
|
||||
'y' => ':count il',
|
||||
'month' => ':count ay',
|
||||
'a_month' => '{1}bir ay|]1,Inf[:count ay',
|
||||
'm' => ':count ay',
|
||||
'week' => ':count həftə',
|
||||
'a_week' => '{1}bir həftə|]1,Inf[:count həftə',
|
||||
'w' => ':count h.',
|
||||
'day' => ':count gün',
|
||||
'a_day' => '{1}bir gün|]1,Inf[:count gün',
|
||||
'd' => ':count g.',
|
||||
'hour' => ':count saat',
|
||||
'a_hour' => '{1}bir saat|]1,Inf[:count saat',
|
||||
'h' => ':count saat',
|
||||
'minute' => ':count d.',
|
||||
'a_minute' => '{1}bir dəqiqə|]1,Inf[:count dəqiqə',
|
||||
'min' => ':count dəqiqə',
|
||||
'second' => ':count san.',
|
||||
'a_second' => '{1}birneçə saniyə|]1,Inf[:count saniyə',
|
||||
's' => ':count saniyə',
|
||||
'ago' => ':time əvvəl',
|
||||
'from_now' => ':time sonra',
|
||||
'after' => ':time sonra',
|
||||
'before' => ':time əvvəl',
|
||||
'diff_now' => 'indi',
|
||||
'diff_yesterday' => 'dünən',
|
||||
'diff_tomorrow' => 'sabah',
|
||||
'diff_before_yesterday' => 'srağagün',
|
||||
'diff_after_tomorrow' => 'birisi gün',
|
||||
'period_recurrences' => ':count dəfədən bir',
|
||||
'period_interval' => 'hər :interval',
|
||||
'period_start_date' => ':date tarixindən başlayaraq',
|
||||
'period_end_date' => ':date tarixinədək',
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD.MM.YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[bugün saat] LT',
|
||||
'nextDay' => '[sabah saat] LT',
|
||||
'nextWeek' => '[gələn həftə] dddd [saat] LT',
|
||||
'lastDay' => '[dünən] LT',
|
||||
'lastWeek' => '[keçən həftə] dddd [saat] LT',
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'ordinal' => function ($number) {
|
||||
if ($number === 0) { // special case for zero
|
||||
return "$number-ıncı";
|
||||
}
|
||||
|
||||
static $suffixes = [
|
||||
1 => '-inci',
|
||||
5 => '-inci',
|
||||
8 => '-inci',
|
||||
70 => '-inci',
|
||||
80 => '-inci',
|
||||
2 => '-nci',
|
||||
7 => '-nci',
|
||||
20 => '-nci',
|
||||
50 => '-nci',
|
||||
3 => '-üncü',
|
||||
4 => '-üncü',
|
||||
100 => '-üncü',
|
||||
6 => '-ncı',
|
||||
9 => '-uncu',
|
||||
10 => '-uncu',
|
||||
30 => '-uncu',
|
||||
60 => '-ıncı',
|
||||
90 => '-ıncı',
|
||||
];
|
||||
|
||||
$lastDigit = $number % 10;
|
||||
|
||||
return $number.($suffixes[$lastDigit] ?? $suffixes[$number % 100 - $lastDigit] ?? $suffixes[$number >= 100 ? 100 : -1] ?? '');
|
||||
},
|
||||
'meridiem' => function ($hour) {
|
||||
if ($hour < 4) {
|
||||
return 'gecə';
|
||||
}
|
||||
if ($hour < 12) {
|
||||
return 'səhər';
|
||||
}
|
||||
if ($hour < 17) {
|
||||
return 'gündüz';
|
||||
}
|
||||
|
||||
return 'axşam';
|
||||
},
|
||||
'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
|
||||
'months_short' => ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
|
||||
'months_standalone' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'],
|
||||
'weekdays' => ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
|
||||
'weekdays_short' => ['baz', 'bze', 'çax', 'çər', 'cax', 'cüm', 'şən'],
|
||||
'weekdays_min' => ['bz', 'be', 'ça', 'çə', 'ca', 'cü', 'şə'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'list' => [', ', ' və '],
|
||||
];
|
21
vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php
vendored
Normal file
21
vendor/nesbot/carbon/src/Carbon/Lang/az_AZ.php
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Pablo Saratxaga pablo@mandrakesoft.com
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/az.php', [
|
||||
'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
|
||||
'weekdays' => ['bazar günü', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
|
||||
'weekdays_short' => ['baz', 'ber', 'çax', 'çər', 'cax', 'cüm', 'şnb'],
|
||||
'weekdays_min' => ['baz', 'ber', 'çax', 'çər', 'cax', 'cüm', 'şnb'],
|
||||
]);
|
19
vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
vendored
Normal file
19
vendor/nesbot/carbon/src/Carbon/Lang/az_Cyrl.php
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/az.php', [
|
||||
'weekdays' => ['базар', 'базар ертәси', 'чәршәнбә ахшамы', 'чәршәнбә', 'ҹүмә ахшамы', 'ҹүмә', 'шәнбә'],
|
||||
'weekdays_short' => ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'],
|
||||
'weekdays_min' => ['Б.', 'Б.Е.', 'Ч.А.', 'Ч.', 'Ҹ.А.', 'Ҹ.', 'Ш.'],
|
||||
'months' => ['јанвар', 'феврал', 'март', 'апрел', 'май', 'ијун', 'ијул', 'август', 'сентјабр', 'октјабр', 'нојабр', 'декабр'],
|
||||
'months_short' => ['јан', 'фев', 'мар', 'апр', 'май', 'ијн', 'ијл', 'авг', 'сен', 'окт', 'ној', 'дек'],
|
||||
'months_standalone' => ['Јанвар', 'Феврал', 'Март', 'Апрел', 'Май', 'Ијун', 'Ијул', 'Август', 'Сентјабр', 'Октјабр', 'Нојабр', 'Декабр'],
|
||||
'meridiem' => ['а', 'п'],
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/az_IR.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Mousa Moradi mousamk@gmail.com
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'OY/OM/OD',
|
||||
],
|
||||
'months' => ['ژانویه', 'فوریه', 'مارس', 'آوریل', 'مئی', 'ژوئن', 'جولای', 'آقۇست', 'سپتامبر', 'اوْکتوْبر', 'نوْوامبر', 'دسامبر'],
|
||||
'months_short' => ['ژانویه', 'فوریه', 'مارس', 'آوریل', 'مئی', 'ژوئن', 'جولای', 'آقۇست', 'سپتامبر', 'اوْکتوْبر', 'نوْوامبر', 'دسامبر'],
|
||||
'weekdays' => ['یکشنبه', 'دوشنبه', 'سهشنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
|
||||
'weekdays_short' => ['یکشنبه', 'دوشنبه', 'سهشنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
|
||||
'weekdays_min' => ['یکشنبه', 'دوشنبه', 'سهشنبه', 'چارشنبه', 'جۆمعه آخشامی', 'جۆمعه', 'شنبه'],
|
||||
'first_day_of_week' => 6,
|
||||
'alt_numbers' => ['۰۰', '۰۱', '۰۲', '۰۳', '۰۴', '۰۵', '۰۶', '۰۷', '۰۸', '۰۹', '۱۰', '۱۱', '۱۲', '۱۳', '۱۴', '۱۵', '۱۶', '۱۷', '۱۸', '۱۹', '۲۰', '۲۱', '۲۲', '۲۳', '۲۴', '۲۵', '۲۶', '۲۷', '۲۸', '۲۹', '۳۰', '۳۱', '۳۲', '۳۳', '۳۴', '۳۵', '۳۶', '۳۷', '۳۸', '۳۹', '۴۰', '۴۱', '۴۲', '۴۳', '۴۴', '۴۵', '۴۶', '۴۷', '۴۸', '۴۹', '۵۰', '۵۱', '۵۲', '۵۳', '۵۴', '۵۵', '۵۶', '۵۷', '۵۸', '۵۹', '۶۰', '۶۱', '۶۲', '۶۳', '۶۴', '۶۵', '۶۶', '۶۷', '۶۸', '۶۹', '۷۰', '۷۱', '۷۲', '۷۳', '۷۴', '۷۵', '۷۶', '۷۷', '۷۸', '۷۹', '۸۰', '۸۱', '۸۲', '۸۳', '۸۴', '۸۵', '۸۶', '۸۷', '۸۸', '۸۹', '۹۰', '۹۱', '۹۲', '۹۳', '۹۴', '۹۵', '۹۶', '۹۷', '۹۸', '۹۹'],
|
||||
]);
|
28
vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
vendored
Normal file
28
vendor/nesbot/carbon/src/Carbon/Lang/az_Latn.php
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/az.php', [
|
||||
'meridiem' => ['a', 'p'],
|
||||
'weekdays' => ['bazar', 'bazar ertəsi', 'çərşənbə axşamı', 'çərşənbə', 'cümə axşamı', 'cümə', 'şənbə'],
|
||||
'weekdays_short' => ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'],
|
||||
'weekdays_min' => ['B.', 'B.E.', 'Ç.A.', 'Ç.', 'C.A.', 'C.', 'Ş.'],
|
||||
'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
|
||||
'months_short' => ['yan', 'fev', 'mar', 'apr', 'may', 'iyn', 'iyl', 'avq', 'sen', 'okt', 'noy', 'dek'],
|
||||
'months_standalone' => ['Yanvar', 'Fevral', 'Mart', 'Aprel', 'May', 'İyun', 'İyul', 'Avqust', 'Sentyabr', 'Oktyabr', 'Noyabr', 'Dekabr'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD.MM.YYYY',
|
||||
'LL' => 'D MMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'D MMMM YYYY, dddd HH:mm',
|
||||
],
|
||||
]);
|
31
vendor/nesbot/carbon/src/Carbon/Lang/bas.php
vendored
Normal file
31
vendor/nesbot/carbon/src/Carbon/Lang/bas.php
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'meridiem' => ['I bikɛ̂glà', 'I ɓugajɔp'],
|
||||
'weekdays' => ['ŋgwà nɔ̂y', 'ŋgwà njaŋgumba', 'ŋgwà ûm', 'ŋgwà ŋgê', 'ŋgwà mbɔk', 'ŋgwà kɔɔ', 'ŋgwà jôn'],
|
||||
'weekdays_short' => ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'],
|
||||
'weekdays_min' => ['nɔy', 'nja', 'uum', 'ŋge', 'mbɔ', 'kɔɔ', 'jon'],
|
||||
'months' => ['Kɔndɔŋ', 'Màcɛ̂l', 'Màtùmb', 'Màtop', 'M̀puyɛ', 'Hìlòndɛ̀', 'Njèbà', 'Hìkaŋ', 'Dìpɔ̀s', 'Bìòôm', 'Màyɛsèp', 'Lìbuy li ńyèe'],
|
||||
'months_short' => ['kɔn', 'mac', 'mat', 'mto', 'mpu', 'hil', 'nje', 'hik', 'dip', 'bio', 'may', 'liɓ'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'D/M/YYYY',
|
||||
'LL' => 'D MMM, YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd D MMMM YYYY HH:mm',
|
||||
],
|
||||
|
||||
'second' => ':count móndî', // less reliable
|
||||
's' => ':count móndî', // less reliable
|
||||
'a_second' => ':count móndî', // less reliable
|
||||
]);
|
163
vendor/nesbot/carbon/src/Carbon/Lang/be.php
vendored
Normal file
163
vendor/nesbot/carbon/src/Carbon/Lang/be.php
vendored
Normal file
@ -0,0 +1,163 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
// @codeCoverageIgnoreStart
|
||||
if (class_exists('Symfony\\Component\\Translation\\PluralizationRules')) {
|
||||
\Symfony\Component\Translation\PluralizationRules::set(function ($number) {
|
||||
return ((1 == $number % 10) && (11 != $number % 100)) ? 0 : ((($number % 10 >= 2) && ($number % 10 <= 4) && (($number % 100 < 10) || ($number % 100 >= 20))) ? 1 : 2);
|
||||
}, 'be');
|
||||
}
|
||||
// @codeCoverageIgnoreEnd
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - SobakaSlava
|
||||
* - François B
|
||||
* - Serhan Apaydın
|
||||
* - JD Isaacks
|
||||
* - AbadonnaAbbys
|
||||
*/
|
||||
return [
|
||||
'year' => ':count год|:count гады|:count гадоў',
|
||||
'a_year' => '{1}год|:count год|:count гады|:count гадоў',
|
||||
'y' => ':count год|:count гады|:count гадоў',
|
||||
'month' => ':count месяц|:count месяцы|:count месяцаў',
|
||||
'a_month' => '{1}месяц|:count месяц|:count месяцы|:count месяцаў',
|
||||
'm' => ':count месяц|:count месяцы|:count месяцаў',
|
||||
'week' => ':count тыдзень|:count тыдні|:count тыдняў',
|
||||
'a_week' => '{1}тыдзень|:count тыдзень|:count тыдні|:count тыдняў',
|
||||
'w' => ':count тыдзень|:count тыдні|:count тыдняў',
|
||||
'day' => ':count дзень|:count ні|:count дзён',
|
||||
'a_day' => '{1}дзень|:count дзень|:count ні|:count дзён',
|
||||
'd' => ':count дзень|:count ні|:count дзён',
|
||||
'hour' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'a_hour' => '{1}гадзіна|:count гадзіна|:count гадзіны|:count гадзін',
|
||||
'h' => ':count гадзіна|:count гадзіны|:count гадзін',
|
||||
'minute' => ':count хвіліна|:count хвіліны|:count хвілін',
|
||||
'a_minute' => '{1}хвіліна|:count хвіліна|:count хвіліны|:count хвілін',
|
||||
'min' => ':count хвіліна|:count хвіліны|:count хвілін',
|
||||
'second' => ':count секунда|:count секунды|:count секунд',
|
||||
'a_second' => '{1}некалькі секунд|:count секунда|:count секунды|:count секунд',
|
||||
's' => ':count секунда|:count секунды|:count секунд',
|
||||
|
||||
'hour_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'a_hour_ago' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
|
||||
'h_ago' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'minute_ago' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'a_minute_ago' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
|
||||
'min_ago' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'second_ago' => ':count секунду|:count секунды|:count секунд',
|
||||
'a_second_ago' => '{1}некалькі секунд|:count секунду|:count секунды|:count секунд',
|
||||
's_ago' => ':count секунду|:count секунды|:count секунд',
|
||||
|
||||
'hour_from_now' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'a_hour_from_now' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
|
||||
'h_from_now' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'minute_from_now' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'a_minute_from_now' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
|
||||
'min_from_now' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'second_from_now' => ':count секунду|:count секунды|:count секунд',
|
||||
'a_second_from_now' => '{1}некалькі секунд|:count секунду|:count секунды|:count секунд',
|
||||
's_from_now' => ':count секунду|:count секунды|:count секунд',
|
||||
|
||||
'hour_after' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'a_hour_after' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
|
||||
'h_after' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'minute_after' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'a_minute_after' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
|
||||
'min_after' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'second_after' => ':count секунду|:count секунды|:count секунд',
|
||||
'a_second_after' => '{1}некалькі секунд|:count секунду|:count секунды|:count секунд',
|
||||
's_after' => ':count секунду|:count секунды|:count секунд',
|
||||
|
||||
'hour_before' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'a_hour_before' => '{1}гадзіну|:count гадзіну|:count гадзіны|:count гадзін',
|
||||
'h_before' => ':count гадзіну|:count гадзіны|:count гадзін',
|
||||
'minute_before' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'a_minute_before' => '{1}хвіліну|:count хвіліну|:count хвіліны|:count хвілін',
|
||||
'min_before' => ':count хвіліну|:count хвіліны|:count хвілін',
|
||||
'second_before' => ':count секунду|:count секунды|:count секунд',
|
||||
'a_second_before' => '{1}некалькі секунд|:count секунду|:count секунды|:count секунд',
|
||||
's_before' => ':count секунду|:count секунды|:count секунд',
|
||||
|
||||
'ago' => ':time таму',
|
||||
'from_now' => 'праз :time',
|
||||
'after' => ':time пасля',
|
||||
'before' => ':time да',
|
||||
'diff_now' => 'цяпер',
|
||||
'diff_yesterday' => 'учора',
|
||||
'diff_tomorrow' => 'заўтра',
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD.MM.YYYY',
|
||||
'LL' => 'D MMMM YYYY г.',
|
||||
'LLL' => 'D MMMM YYYY г., HH:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY г., HH:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[Сёння ў] LT',
|
||||
'nextDay' => '[Заўтра ў] LT',
|
||||
'nextWeek' => '[У] dddd [ў] LT',
|
||||
'lastDay' => '[Учора ў] LT',
|
||||
'lastWeek' => function (\Carbon\CarbonInterface $current) {
|
||||
switch ($current->dayOfWeek) {
|
||||
case 1:
|
||||
case 2:
|
||||
case 4:
|
||||
return '[У мінулы] dddd [ў] LT';
|
||||
default:
|
||||
return '[У мінулую] dddd [ў] LT';
|
||||
}
|
||||
},
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'ordinal' => function ($number, $period) {
|
||||
switch ($period) {
|
||||
case 'M':
|
||||
case 'd':
|
||||
case 'DDD':
|
||||
case 'w':
|
||||
case 'W':
|
||||
return ($number % 10 === 2 || $number % 10 === 3) && ($number % 100 !== 12 && $number % 100 !== 13) ? $number.'-і' : $number.'-ы';
|
||||
case 'D':
|
||||
return $number.'-га';
|
||||
default:
|
||||
return $number;
|
||||
}
|
||||
},
|
||||
'meridiem' => function ($hour) {
|
||||
if ($hour < 4) {
|
||||
return 'ночы';
|
||||
}
|
||||
if ($hour < 12) {
|
||||
return 'раніцы';
|
||||
}
|
||||
if ($hour < 17) {
|
||||
return 'дня';
|
||||
}
|
||||
|
||||
return 'вечара';
|
||||
},
|
||||
'months' => ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'траўня', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня'],
|
||||
'months_standalone' => ['студзень', 'люты', 'сакавік', 'красавік', 'травень', 'чэрвень', 'ліпень', 'жнівень', 'верасень', 'кастрычнік', 'лістапад', 'снежань'],
|
||||
'months_short' => ['студ', 'лют', 'сак', 'крас', 'трав', 'чэрв', 'ліп', 'жнів', 'вер', 'каст', 'ліст', 'снеж'],
|
||||
'months_regexp' => '/(DD?o?\.?(\[[^\[\]]*\]|\s)+MMMM?|L{2,4}|l{2,4})/',
|
||||
'weekdays' => ['нядзелю', 'панядзелак', 'аўторак', 'сераду', 'чацвер', 'пятніцу', 'суботу'],
|
||||
'weekdays_standalone' => ['нядзеля', 'панядзелак', 'аўторак', 'серада', 'чацвер', 'пятніца', 'субота'],
|
||||
'weekdays_short' => ['нд', 'пн', 'ат', 'ср', 'чц', 'пт', 'сб'],
|
||||
'weekdays_min' => ['нд', 'пн', 'ат', 'ср', 'чц', 'пт', 'сб'],
|
||||
'weekdays_regexp' => '/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/',
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'list' => [', ', ' і '],
|
||||
'months_short_standalone' => ['сту', 'лют', 'сак', 'кра', 'май', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'],
|
||||
];
|
22
vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php
vendored
Normal file
22
vendor/nesbot/carbon/src/Carbon/Lang/be_BY.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/be.php', [
|
||||
'months' => ['студзеня', 'лютага', 'сакавіка', 'красавіка', 'мая', 'чэрвеня', 'ліпеня', 'жніўня', 'верасня', 'кастрычніка', 'лістапада', 'снежня'],
|
||||
'months_short' => ['сту', 'лют', 'сак', 'кра', 'мая', 'чэр', 'ліп', 'жні', 'вер', 'кас', 'ліс', 'сне'],
|
||||
'weekdays' => ['Нядзеля', 'Панядзелак', 'Аўторак', 'Серада', 'Чацвер', 'Пятніца', 'Субота'],
|
||||
'weekdays_short' => ['Няд', 'Пан', 'Аўт', 'Срд', 'Чцв', 'Пят', 'Суб'],
|
||||
'weekdays_min' => ['Няд', 'Пан', 'Аўт', 'Срд', 'Чцв', 'Пят', 'Суб'],
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/be_BY@latin.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - bug-glibc-locales@gnu.org
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD.MM.YYYY',
|
||||
],
|
||||
'months' => ['studzienia', 'lutaha', 'sakavika', 'krasavika', 'maja', 'červienia', 'lipienia', 'žniŭnia', 'vieraśnia', 'kastryčnika', 'listapada', 'śniežnia'],
|
||||
'months_short' => ['Stu', 'Lut', 'Sak', 'Kra', 'Maj', 'Čer', 'Lip', 'Žni', 'Vie', 'Kas', 'Lis', 'Śni'],
|
||||
'weekdays' => ['Niadziela', 'Paniadziełak', 'Aŭtorak', 'Sierada', 'Čaćvier', 'Piatnica', 'Subota'],
|
||||
'weekdays_short' => ['Nia', 'Pan', 'Aŭt', 'Sie', 'Čać', 'Pia', 'Sub'],
|
||||
'weekdays_min' => ['Nia', 'Pan', 'Aŭt', 'Sie', 'Čać', 'Pia', 'Sub'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/bem.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/bem.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/bem_ZM.php';
|
56
vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php
vendored
Normal file
56
vendor/nesbot/carbon/src/Carbon/Lang/bem_ZM.php
vendored
Normal file
@ -0,0 +1,56 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - ANLoc Martin Benjamin locales@africanlocalization.net
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'MM/DD/YYYY',
|
||||
],
|
||||
'months' => ['Januari', 'Februari', 'Machi', 'Epreo', 'Mei', 'Juni', 'Julai', 'Ogasti', 'Septemba', 'Oktoba', 'Novemba', 'Disemba'],
|
||||
'months_short' => ['Jan', 'Feb', 'Mac', 'Epr', 'Mei', 'Jun', 'Jul', 'Oga', 'Sep', 'Okt', 'Nov', 'Dis'],
|
||||
'weekdays' => ['Pa Mulungu', 'Palichimo', 'Palichibuli', 'Palichitatu', 'Palichine', 'Palichisano', 'Pachibelushi'],
|
||||
'weekdays_short' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||
'weekdays_min' => ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'meridiem' => ['uluchelo', 'akasuba'],
|
||||
|
||||
'year' => 'myaka :count',
|
||||
'y' => 'myaka :count',
|
||||
'a_year' => 'myaka :count',
|
||||
|
||||
'month' => 'myeshi :count',
|
||||
'm' => 'myeshi :count',
|
||||
'a_month' => 'myeshi :count',
|
||||
|
||||
'week' => 'umulungu :count',
|
||||
'w' => 'umulungu :count',
|
||||
'a_week' => 'umulungu :count',
|
||||
|
||||
'day' => 'inshiku :count',
|
||||
'd' => 'inshiku :count',
|
||||
'a_day' => 'inshiku :count',
|
||||
|
||||
'hour' => 'awala :count',
|
||||
'h' => 'awala :count',
|
||||
'a_hour' => 'awala :count',
|
||||
|
||||
'minute' => 'miniti :count',
|
||||
'min' => 'miniti :count',
|
||||
'a_minute' => 'miniti :count',
|
||||
|
||||
'second' => 'sekondi :count',
|
||||
's' => 'sekondi :count',
|
||||
'a_second' => 'sekondi :count',
|
||||
]);
|
15
vendor/nesbot/carbon/src/Carbon/Lang/ber.php
vendored
Normal file
15
vendor/nesbot/carbon/src/Carbon/Lang/ber.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Unknown default region, use the first alphabetically.
|
||||
*/
|
||||
return require __DIR__.'/ber_DZ.php';
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ber_DZ.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Pablo Saratxaga pablo@mandrakesoft.com
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD.MM.YYYY',
|
||||
],
|
||||
'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
|
||||
'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
|
||||
'weekdays' => ['bazar günü', 'birinci gün', 'ikinci gün', 'üçüncü gün', 'dördüncü gün', 'beşinci gün', 'altıncı gün'],
|
||||
'weekdays_short' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
|
||||
'weekdays_min' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/ber_MA.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Pablo Saratxaga pablo@mandrakesoft.com
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'formats' => [
|
||||
'L' => 'DD.MM.YYYY',
|
||||
],
|
||||
'months' => ['yanvar', 'fevral', 'mart', 'aprel', 'may', 'iyun', 'iyul', 'avqust', 'sentyabr', 'oktyabr', 'noyabr', 'dekabr'],
|
||||
'months_short' => ['Yan', 'Fev', 'Mar', 'Apr', 'May', 'İyn', 'İyl', 'Avq', 'Sen', 'Okt', 'Noy', 'Dek'],
|
||||
'weekdays' => ['bazar günü', 'birinci gün', 'ikinci gün', 'üçüncü gün', 'dördüncü gün', 'beşinci gün', 'altıncı gün'],
|
||||
'weekdays_short' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
|
||||
'weekdays_min' => ['baz', 'bir', 'iki', 'üçü', 'dör', 'beş', 'alt'],
|
||||
'first_day_of_week' => 6,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
]);
|
27
vendor/nesbot/carbon/src/Carbon/Lang/bez.php
vendored
Normal file
27
vendor/nesbot/carbon/src/Carbon/Lang/bez.php
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
return array_replace_recursive(require __DIR__.'/en.php', [
|
||||
'meridiem' => ['pamilau', 'pamunyi'],
|
||||
'weekdays' => ['pa mulungu', 'pa shahuviluha', 'pa hivili', 'pa hidatu', 'pa hitayi', 'pa hihanu', 'pa shahulembela'],
|
||||
'weekdays_short' => ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'],
|
||||
'weekdays_min' => ['Mul', 'Vil', 'Hiv', 'Hid', 'Hit', 'Hih', 'Lem'],
|
||||
'months' => ['pa mwedzi gwa hutala', 'pa mwedzi gwa wuvili', 'pa mwedzi gwa wudatu', 'pa mwedzi gwa wutai', 'pa mwedzi gwa wuhanu', 'pa mwedzi gwa sita', 'pa mwedzi gwa saba', 'pa mwedzi gwa nane', 'pa mwedzi gwa tisa', 'pa mwedzi gwa kumi', 'pa mwedzi gwa kumi na moja', 'pa mwedzi gwa kumi na mbili'],
|
||||
'months_short' => ['Hut', 'Vil', 'Dat', 'Tai', 'Han', 'Sit', 'Sab', 'Nan', 'Tis', 'Kum', 'Kmj', 'Kmb'],
|
||||
'first_day_of_week' => 1,
|
||||
'formats' => [
|
||||
'LT' => 'HH:mm',
|
||||
'LTS' => 'HH:mm:ss',
|
||||
'L' => 'DD/MM/YYYY',
|
||||
'LL' => 'D MMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY HH:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY HH:mm',
|
||||
],
|
||||
]);
|
107
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
Normal file
107
vendor/nesbot/carbon/src/Carbon/Lang/bg.php
vendored
Normal file
@ -0,0 +1,107 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file is part of the Carbon package.
|
||||
*
|
||||
* (c) Brian Nesbitt <brian@nesbot.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Authors:
|
||||
* - Josh Soref
|
||||
* - François B
|
||||
* - Serhan Apaydın
|
||||
* - JD Isaacks
|
||||
* - Glavić
|
||||
*/
|
||||
return [
|
||||
'year' => ':count година|:count години',
|
||||
'a_year' => 'година|:count години',
|
||||
'y' => ':count година|:count години',
|
||||
'month' => ':count месец|:count месеца',
|
||||
'a_month' => 'месец|:count месеца',
|
||||
'm' => ':count месец|:count месеца',
|
||||
'week' => ':count седмица|:count седмици',
|
||||
'a_week' => 'седмица|:count седмици',
|
||||
'w' => ':count седмица|:count седмици',
|
||||
'day' => ':count ден|:count дни',
|
||||
'a_day' => 'ден|:count дни',
|
||||
'd' => ':count ден|:count дни',
|
||||
'hour' => ':count час|:count часа',
|
||||
'a_hour' => 'час|:count часа',
|
||||
'h' => ':count час|:count часа',
|
||||
'minute' => ':count минута|:count минути',
|
||||
'a_minute' => 'минута|:count минути',
|
||||
'min' => ':count минута|:count минути',
|
||||
'second' => ':count секунда|:count секунди',
|
||||
'a_second' => 'няколко секунди|:count секунди',
|
||||
's' => ':count секунда|:count секунди',
|
||||
'ago' => 'преди :time',
|
||||
'from_now' => 'след :time',
|
||||
'after' => 'след :time',
|
||||
'before' => 'преди :time',
|
||||
'diff_now' => 'сега',
|
||||
'diff_yesterday' => 'вчера',
|
||||
'diff_tomorrow' => 'утре',
|
||||
'formats' => [
|
||||
'LT' => 'H:mm',
|
||||
'LTS' => 'H:mm:ss',
|
||||
'L' => 'D.MM.YYYY',
|
||||
'LL' => 'D MMMM YYYY',
|
||||
'LLL' => 'D MMMM YYYY H:mm',
|
||||
'LLLL' => 'dddd, D MMMM YYYY H:mm',
|
||||
],
|
||||
'calendar' => [
|
||||
'sameDay' => '[Днес в] LT',
|
||||
'nextDay' => '[Утре в] LT',
|
||||
'nextWeek' => 'dddd [в] LT',
|
||||
'lastDay' => '[Вчера в] LT',
|
||||
'lastWeek' => function (\Carbon\CarbonInterface $current) {
|
||||
switch ($current->dayOfWeek) {
|
||||
case 0:
|
||||
case 3:
|
||||
case 6:
|
||||
return '[В изминалата] dddd [в] LT';
|
||||
default:
|
||||
return '[В изминалия] dddd [в] LT';
|
||||
}
|
||||
},
|
||||
'sameElse' => 'L',
|
||||
],
|
||||
'ordinal' => function ($number) {
|
||||
$lastDigit = $number % 10;
|
||||
$last2Digits = $number % 100;
|
||||
if ($number === 0) {
|
||||
return "$number-ев";
|
||||
}
|
||||
if ($last2Digits === 0) {
|
||||
return "$number-ен";
|
||||
}
|
||||
if ($last2Digits > 10 && $last2Digits < 20) {
|
||||
return "$number-ти";
|
||||
}
|
||||
if ($lastDigit === 1) {
|
||||
return "$number-ви";
|
||||
}
|
||||
if ($lastDigit === 2) {
|
||||
return "$number-ри";
|
||||
}
|
||||
if ($lastDigit === 7 || $lastDigit === 8) {
|
||||
return "$number-ми";
|
||||
}
|
||||
|
||||
return "$number-ти";
|
||||
},
|
||||
'months' => ['януари', 'февруари', 'март', 'април', 'май', 'юни', 'юли', 'август', 'септември', 'октомври', 'ноември', 'декември'],
|
||||
'months_short' => ['яну', 'фев', 'мар', 'апр', 'май', 'юни', 'юли', 'авг', 'сеп', 'окт', 'ное', 'дек'],
|
||||
'weekdays' => ['неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота'],
|
||||
'weekdays_short' => ['нед', 'пон', 'вто', 'сря', 'чет', 'пет', 'съб'],
|
||||
'weekdays_min' => ['нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб'],
|
||||
'first_day_of_week' => 1,
|
||||
'day_of_first_week_of_year' => 1,
|
||||
'list' => [', ', ' и '],
|
||||
'meridiem' => ['преди обяд', 'следобед'],
|
||||
];
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user