public static function jDateTime::div in Persian Date for Drupal 8 8.4
Parameters
$a:
$b:
Return value
float
5 calls to jDateTime::div()
- jDateTime::d2g in src/
Library/ Jalali/ jDateTime.php - jDateTime::d2j in src/
Library/ Jalali/ jDateTime.php - Converts the Julian Day number to a date in the Jalaali calendar.
- jDateTime::g2d in src/
Library/ Jalali/ jDateTime.php - Calculates the Julian Day number from Gregorian or Julian calendar dates. This integer number corresponds to the noon of the date (i.e. 12 hours of Universal Time). The procedure was tested to be good since 1 March, -100100 (of both calendars) up to a…
- jDateTime::j2d in src/
Library/ Jalali/ jDateTime.php - Converts a date of the Jalaali calendar to the Julian Day number.
- jDateTime::jalaliCal in src/
Library/ Jalali/ jDateTime.php - This function determines if the Jalaali (Persian) year is leap (366-day long) or is the common year (365 days), and finds the day in March (Gregorian calendar) of the first day of the Jalaali year (jy).
File
- src/
Library/ Jalali/ jDateTime.php, line 208
Class
- jDateTime
- Class jDateTime @package Morilog\Jalali
Namespace
Drupal\persian_date\Library\JalaliCode
public static function div($a, $b) {
return ~~($a / $b);
}