/includes/functions_date_hebrew.php

Description

Hebrew/Jewish Date Functions

The functions in this file are used when converting dates to the Hebrew or Jewish Calendar This file is only loaded if the year is hebrew, or if the $CALENDAR_FORMAT is hebrew or jewish

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2003 John Finlay and Others

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: functions_date_hebrew.php 981 2007-03-21 13:24:38Z fisharebest $
Functions
convert_hdate (line 35)

Hebrew/Jewish Date Functions

The functions in this file are used when converting dates to the Hebrew or Jewish Calendar This file is only loaded if the year is hebrew, or if the $CALENDAR_FORMAT is hebrew or jewish

phpGedView: Genealogy Viewer Copyright (C) 2002 to 2003 John Finlay and Others

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

  • version: $Id: functions_date_hebrew.php 981 2007-03-21 13:24:38Z fisharebest $
void convert_hdate ( $dstr_beg,  $dstr_end,  $day,  $month,  $year)
  • $dstr_beg
  • $dstr_end
  • $day
  • $month
  • $year
getFullHebrewJewishDates (line 55)
void getFullHebrewJewishDates ( $year, [ $month = ""], [ $day = ""], [ $altYear = ""], [ $altMonth = ""])
  • $year
  • $month
  • $day
  • $altYear
  • $altMonth
getHebrewJewishDates (line 104)
void getHebrewJewishDates ( $year, [ $month = ""], [ $day = ""], [ $altYear = ""], [ $altMonth = ""])
  • $year
  • $month
  • $day
  • $altYear
  • $altMonth
getHebrewJewishDay (line 220)
void getHebrewJewishDay ( $day)
  • $day
getHebrewJewishMonth (line 192)
void getHebrewJewishMonth ( $month,  $year)
  • $month
  • $year
getHebrewJewishYear (line 134)
void getHebrewJewishYear ( $year)
  • $year
getJewishMonthName (line 268)
void getJewishMonthName ( $month,  $year)
  • $month
  • $year
get_date_url_hebrew (line 409)

function to split up a date into parts for a url for hebrew dates

called from get_date_url in functions_date.php when RTL_PROCESSING is on and a date has the #DHEBREW# marking

void get_date_url_hebrew (string $datestr)
  • string $datestr
gregorianToJewishGedcomDate (line 375)

Convert a Gregorian gedcom date into a Jewish GEDCOM date without the @#DHEBREW@

  • TODO: Improve !!
array gregorianToJewishGedcomDate ($datearray $datearray)
  • $datearray $datearray: The Gregorian date
isJewishLeapYear (line 249)
void isJewishLeapYear ( $year)
  • $year
isSingleDigitJeiwshYear (line 258)
void isSingleDigitJeiwshYear ( $year)
  • $year
jewishGedcomDateToCurrentGregorian (line 323)

Convert a jewish gedcom date into this year's Gregorian date

parses a gedcom date IE @#DHEBREW@ into an array of month day and year values

  • TODO: Actually implement parse method (done in other places but should be unified into one function
array jewishGedcomDateToCurrentGregorian ( $datearray, array $date)
  • array $date: The date as coming from the parse_date() function
  • $datearray
jewishGedcomDateToGregorian (line 297)

Convert a jewish gedcom date into a Gregorian date

parses a gedcom date IE @#DHEBREW@ into an array of month day and year values

  • TODO: Actually implement parse method (done in other places but should be unified into one function
array jewishGedcomDateToGregorian ( $datearray, array $date)
  • array $date: The date as coming from the parse_date() function
  • $datearray

Documentation generated on Wed, 28 Mar 2007 09:54:17 -0600 by phpDocumentor 1.3.1