2017 © Pedro Peláez
 

library weeksinayear

Calculates the number of ISO weeks in a given year

image

robertbasic/weeksinayear

Calculates the number of ISO weeks in a given year

  • Saturday, March 17, 2018
  • by robertbasic
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 100 % Grown

The README.md

Weeks in a year

This small library calculates how many ISO weeks are there in a given year., (*1)

Install

composer require robertbasic/weeksinayear

Usage

``` php <?php, (*2)

use RobertBasic\WeaksInAYear\ISOWeeksInAYear;, (*3)

$year = 2018;, (*4)

$weeks = ISOWeeksInAYear::calculate($year);, (*5)

echo $weeks; // 52 ```, (*6)

The Versions

17/03 2018

dev-master

9999999-dev https://github.com/robertbasic/weeksinayear

Calculates the number of ISO weeks in a given year

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

17/03 2018

1.0.0

1.0.0.0 https://github.com/robertbasic/weeksinayear

Calculates the number of ISO weeks in a given year

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires