From 2975fe3874d23f3fbb4d40ab5cf8c1a362c22d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Correa=20da=20Concei=C3=A7=C3=A3o?= Date: Tue, 7 Oct 2003 03:49:01 +0000 Subject: [PATCH] Fixing wrong commit git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@141967 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/calendar/configure.xml | 6 +- reference/calendar/constants.xml | 48 ++++++------- .../calendar/functions/cal-days-in-month.xml | 24 +++---- reference/calendar/functions/cal-from-jd.xml | 28 ++++---- reference/calendar/functions/cal-info.xml | 26 +++---- reference/calendar/functions/cal-to-jd.xml | 24 +++---- reference/calendar/functions/easter-date.xml | 61 ++++++++-------- reference/calendar/functions/easter-days.xml | 72 ++++++++++--------- reference/calendar/functions/frenchtojd.xml | 26 +++---- .../calendar/functions/gregoriantojd.xml | 34 ++++----- reference/calendar/functions/jddayofweek.xml | 28 ++++---- reference/calendar/functions/jdmonthname.xml | 44 ++++++------ reference/calendar/functions/jdtofrench.xml | 8 +-- .../calendar/functions/jdtogregorian.xml | 10 +-- reference/calendar/functions/jdtojewish.xml | 20 +++--- reference/calendar/functions/jdtojulian.xml | 10 +-- reference/calendar/functions/jdtounix.xml | 20 +++--- reference/calendar/functions/jewishtojd.xml | 26 +++---- reference/calendar/functions/juliantojd.xml | 36 +++++----- reference/calendar/functions/unixtojd.xml | 14 ++-- reference/calendar/reference.xml | 29 ++++---- 21 files changed, 291 insertions(+), 303 deletions(-) diff --git a/reference/calendar/configure.xml b/reference/calendar/configure.xml index 9f1c973703..95c58de698 100644 --- a/reference/calendar/configure.xml +++ b/reference/calendar/configure.xml @@ -1,9 +1,9 @@ - +
&reftitle.install; - Para estas funções funcionarem, você precisa compilar o PHP com + To get these functions to work, you have to compile PHP with . &windows.builtin; @@ -27,4 +27,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> diff --git a/reference/calendar/constants.xml b/reference/calendar/constants.xml index da5573c10b..6e65ec8c96 100644 --- a/reference/calendar/constants.xml +++ b/reference/calendar/constants.xml @@ -1,5 +1,5 @@ - +
&reftitle.constants; &extension.constants; @@ -7,7 +7,7 @@ CAL_GREGORIAN - (inteiro) + (integer) @@ -18,7 +18,7 @@ CAL_JULIAN - (inteiro) + (integer) @@ -29,7 +29,7 @@ CAL_JEWISH - (inteiro) + (integer) @@ -40,7 +40,7 @@ CAL_FRENCH - (inteiro) + (integer) @@ -51,7 +51,7 @@ CAL_NUM_CALS - (inteiro) + (integer) @@ -62,7 +62,7 @@ CAL_DOW_DAYNO - (inteiro) + (integer) @@ -73,7 +73,7 @@ CAL_DOW_SHORT - (inteiro) + (integer) @@ -84,7 +84,7 @@ CAL_DOW_LONG - (inteiro) + (integer) @@ -95,7 +95,7 @@ CAL_MONTH_GREGORIAN_SHORT - (inteiro) + (integer) @@ -106,7 +106,7 @@ CAL_MONTH_GREGORIAN_LONG - (inteiro) + (integer) @@ -117,7 +117,7 @@ CAL_MONTH_JULIAN_SHORT - (inteiro) + (integer) @@ -128,7 +128,7 @@ CAL_MONTH_JULIAN_LONG - (inteiro) + (integer) @@ -139,7 +139,7 @@ CAL_MONTH_JEWISH - (inteiro) + (integer) @@ -150,7 +150,7 @@ CAL_MONTH_FRENCH - (inteiro) + (integer) @@ -160,13 +160,13 @@ - As constantes abaixo estão disponíveis à partir da versão 4.3.0 do PHP : + The following constants are available since PHP 4.3.0 : CAL_EASTER_DEFAULT - (inteiro) + (integer) @@ -177,7 +177,7 @@ CAL_EASTER_ROMAN - (inteiro) + (integer) @@ -188,7 +188,7 @@ CAL_EASTER_ALWAYS_GREGORIAN - (inteiro) + (integer) @@ -199,7 +199,7 @@ CAL_EASTER_ALWAYS_JULIAN - (inteiro) + (integer) @@ -209,13 +209,13 @@ - As constantes abaixo estão disponíveis à partir da versão 5.0.0 do PHP : + The following constants are available since PHP 5.0.0 : CAL_JEWISH_ADD_ALAFIM_GERESH - (inteiro) + (integer) @@ -226,7 +226,7 @@ CAL_JEWISH_ADD_ALAFIM - (inteiro) + (integer) @@ -237,7 +237,7 @@ CAL_JEWISH_ADD_GERESHAYIM - (inteiro) + (integer) diff --git a/reference/calendar/functions/cal-days-in-month.xml b/reference/calendar/functions/cal-days-in-month.xml index d75b8f3cdb..eb994a79d6 100644 --- a/reference/calendar/functions/cal-days-in-month.xml +++ b/reference/calendar/functions/cal-days-in-month.xml @@ -1,39 +1,39 @@ - + cal_days_in_month - Retorna o número de dias em um mês de um calendário e ano requisitado + Return the number of days in a month for a given year and calendar - Descrição + Description intcal_days_in_month - intcalendario - intmês - intano + intcalendar + intmonth + intyear - ESta função irá retornar o número de dias em um - month do ano para - o calendário especificado. + This function will return the number of days in the + month of year for + the specified calendar. - <function>cal_days_in_month</function> exemplo + <function>cal_days_in_month</function> example ]]> - Veja também jdtounix. + See also jdtounix. diff --git a/reference/calendar/functions/cal-from-jd.xml b/reference/calendar/functions/cal-from-jd.xml index eb20964cbc..944809f4e1 100644 --- a/reference/calendar/functions/cal-from-jd.xml +++ b/reference/calendar/functions/cal-from-jd.xml @@ -1,41 +1,41 @@ - + cal_from_jd - Converte à partir do "Julian Day Count" para um outro calendário suportado + Converts from Julian Day Count to a supported calendar - Descrição + Description arraycal_from_jd intjd - intcalendário + intcalendar - cal_from_jd converte do "Julian Day Count" ( - jd) para uma data de um - calendário especificado. Os valores dos - calendários suportados são + cal_from_jd converts the julian day given in + jd into a date of the specified + calendar. Supported + calendar values are CAL_GREGORIAN, CAL_JULIAN, - CAL_JEWISH e + CAL_JEWISH and CAL_FRENCH. - <function>cal_from_jd</function> exemplo + <function>cal_from_jd</function> example ]]> - Este código retorna: + This will output : - Veja também cal_to_jd. + See also cal_to_jd. diff --git a/reference/calendar/functions/cal-info.xml b/reference/calendar/functions/cal-info.xml index 01b58efd9c..b51ec75f88 100644 --- a/reference/calendar/functions/cal-info.xml +++ b/reference/calendar/functions/cal-info.xml @@ -1,32 +1,32 @@ - + cal_info - Retorna informações sobre um calendário em particular + Returns information about a particular calendar - Descrição + Description arraycal_info - intcalendário + intcalendar - cal_info retorna as informações de um - calendário específico ou de todos os calendários - se nenhum calendário for especificado. + cal_info returns information on the + specified calendar or on all supported + calendars if no calendar is specified. - A informação do calendário especificado é retornada em um array contendo os - elementos calname, calsymbol, - month, abbrevmonth e + Calendar information is returned as an array containing the + elements calname, calsymbol, + month, abbrevmonth and maxdaysinmonth. - Se nenhum calendário foi especificado as informações de - todos os calendários suportados são retornadas em um array. Esta funcionalidade - será suportada à partir do PHP 5. + If no calendar is specified information on all + supported calendars is returned as an array. This functionality + will be available beginning with PHP 5. diff --git a/reference/calendar/functions/cal-to-jd.xml b/reference/calendar/functions/cal-to-jd.xml index 5b3656e611..96f11dd8e6 100644 --- a/reference/calendar/functions/cal-to-jd.xml +++ b/reference/calendar/functions/cal-to-jd.xml @@ -1,31 +1,31 @@ - + cal_to_jd - Converte um calendário (suportado) para o calendário "Julian Day Count" + Converts from a supported calendar to Julian Day Count - Descrião + Description intcal_to_jd - intcalendário - intmês - intdia - intano + intcalendar + intmonth + intday + intyear - cal_to_jd calcula uma data em formato "Julian Day Count" - à partir de um calendário suportado especificado. - Os calendários suportados são: + cal_to_jd calculates the julian day count + for a date in the specified calendar. + Supported calendars are CAL_GREGORIAN, CAL_JULIAN, - CAL_JEWISH e + CAL_JEWISH and CAL_FRENCH. - Veja também cal_to_jd. + See also cal_to_jd. diff --git a/reference/calendar/functions/easter-date.xml b/reference/calendar/functions/easter-date.xml index 057fdd4fc2..0d2f401b52 100644 --- a/reference/calendar/functions/easter-date.xml +++ b/reference/calendar/functions/easter-date.xml @@ -1,39 +1,34 @@ - + - easter_date - Retorna a data do sistema UNIX correspondente à meia-noite da Páscoa do ano especificado. - Se nenhum ano tiver sido especificado, será assumido o ano atual. + Get UNIX timestamp for midnight on Easter of a given year - Descrição + Description inteaster_date - intano + intyear - Retorna a data do sistema UNIX correspondente à meia-noite da Páscoa do ano especificado. - Se nenhum ano tiver sido especificado, será assumido o ano atual. + Returns the UNIX timestamp corresponding to midnight on Easter of + the given year. - À partir da versão 4.3.0 PHP, e se omitido - o parâmetro ano, o padrão assumido é o ano - atual de acordo com a hora local. + Since PHP 4.3.0, the year + parameter is optional and defaults to the current year according to the + localtime if ommited. - Aviso Esta função irá gerar um aviso se - o ano está fora do padrão de datas do sistema UNIX (i.e. antes - de 1970 ou após 2037). + Warning: This function will generate + a warning if the year is outside of the range for UNIX + timestamps (i.e. before 1970 or after 2037). - <function>easter_date</function> exemplo + <function>easter_date</function> example - A data da Páscoa foi definida pelo Conselho de Nicaea em - DC325 como sendo o primeiro domingo após a primeira lua cheia - que cai no equinócio da primavera ou depois dele. O equinócio geralmente - cai perto do 21º de Março, logo, o cálculo resume-se à determinar a data - da lua cheia e a data do seguinte domingo. O algoritmo usado aqui foi - feito no ano 532 por Dionysius Exiguus. De acordo com o calendário "Julian" (para - anos anterioris à 1753) um simples ciclo de 19-anos é usado para seguir as - fases da lua. De acordo com o Calendário Gregoriano (para antes após 1753 - - planejado por Clavius e por Lilius, e feito por Pope Gregory XIII em Outubro - de 1582, e na Grã Bretanha e suas colônias em Setembro de 1752), duas correções - fatoriais foram adicionadas para fazer o ciclo mais exato. + The date of Easter Day was defined by the Council of Nicaea in + AD325 as the Sunday after the first full moon which falls on or + after the Spring Equinox. The Equinox is assumed to always fall + on 21st March, so the calculation reduces to determining the date + of the full moon and the date of the following Sunday. The + algorithm used here was introduced around the year 532 by + Dionysius Exiguus. Under the Julian Calendar (for years before + 1753) a simple 19-year cycle is used to track the phases of the + Moon. Under the Gregorian Calendar (for years after 1753 - + devised by Clavius and Lilius, and introduced by Pope Gregory + XIII in October 1582, and into Britain and its then colonies in + September 1752) two correction factors are added to make the + cycle more accurate. - (O código é baseado em um programa feito em C por Simon Kershaw, + (The code is based on a C program by Simon Kershaw, <webmaster@ely.anglican.org>) - Veja easter_days para calcular a Páscoa - antes de 1970 ou após 2037. + See easter_days for calculating Easter + before 1970 or after 2037. diff --git a/reference/calendar/functions/easter-days.xml b/reference/calendar/functions/easter-days.xml index fd36992d1f..760b11b27d 100644 --- a/reference/calendar/functions/easter-days.xml +++ b/reference/calendar/functions/easter-days.xml @@ -1,44 +1,46 @@ - + easter_days - Obtém o número de dias entre 21 de Março e o dia da Páscoa em - determinado ano. + Get number of days after March 21 on which Easter falls for a + given year Description inteaster_days - intano - intmétodo + intyear + intmethod - Retorna o número de dias entre 21 de Março e o dia da Páscoa em - determinado ano. Se nenhum ano tiver sido especificado, será assumido - o ano atual. + Returns the number of days after March 21 on which Easter falls + for a given year. If no year is specified, the current year is + assumed. - À partir da versão 4.3.0 do PHP, o parâmetro ano - é opcional e se for omitido o padrão assumido é o ano atual de acrodo com o hora local. + Since PHP 4.3.0, the year + parameter is optional and defaults to the current year according to the + localtime if ommited. - O parâmetro método está disponível à partir da versão - 4.3.0 do PHP e perimite calcular as datas da Páscoa baseadas no - calendário Gregoriano durante os anos 1582 - 1752 quando a constante - CAL_EASTER_ROMAN está ligada. Veja as - constantes de calendário para obter - outras constantes válidas. + The method parameter was also introduced in + PHP 4.3.0 and allows to calculate easter dates based + on the Gregorian calendar during the years 1582 - 1752 when set to + CAL_EASTER_ROMAN. See the calendar constants for more valid + constants. - Ao invés de usar a função easter_date, - você pode usar esta função para calcular a Páscoa em anos que estão - fora da escala de datas do sistema UNIX (i.e. antes de 1970 ou após 2037). - - <function>easter_days</function> exemplo + This function can be used instead of + easter_date to calculate Easter for years + which fall outside the range of UNIX timestamps (i.e. before 1970 + or after 2037). + + <function>easter_days</function> example - A data da Páscoa foi definida pelo Conselho de Nicaea em - DC325 como sendo o primeiro domingo após a primeira lua cheia - que cai no equinócio da primavera ou depois dele. O equinócio geralmente - cai perto do 21º de Março, logo, o cálculo resume-se à determinar a data - da lua cheia e a data do seguinte domingo. O algoritmo usado aqui foi - feito no ano 532 por Dionysius Exiguus. De acordo com o calendário "Julian" (para - anos anterioris à 1753) um simples ciclo de 19-anos é usado para seguir as - fases da lua. De acordo com o Calendário Gregoriano (para antes após 1753 - - planejado por Clavius e por Lilius, e feito por Pope Gregory XIII em Outubro - de 1582, e na Grã Bretanha e suas colônias em Setembro de 1752), duas correções - fatoriais foram adicionadas para fazer o ciclo mais exato. + The date of Easter Day was defined by the Council of Nicaea in + AD325 as the Sunday after the first full moon which falls on or + after the Spring Equinox. The Equinox is assumed to always fall + on 21st March, so the calculation reduces to determining the date + of the full moon and the date of the following Sunday. The + algorithm used here was introduced around the year 532 by + Dionysius Exiguus. Under the Julian Calendar (for years before + 1753) a simple 19-year cycle is used to track the phases of the + Moon. Under the Gregorian Calendar (for years after 1753 - + devised by Clavius and Lilius, and introduced by Pope Gregory + XIII in October 1582, and into Britain and its then colonies in + September 1752) two correction factors are added to make the + cycle more accurate. - (O código é baseado em um programa feito em C por Simon Kershaw, + (The code is based on a C program by Simon Kershaw, <webmaster@ely.anglican.org>) - Veja também easter_date. + See also easter_date. diff --git a/reference/calendar/functions/frenchtojd.xml b/reference/calendar/functions/frenchtojd.xml index 394ddb3da1..4168a257a6 100644 --- a/reference/calendar/functions/frenchtojd.xml +++ b/reference/calendar/functions/frenchtojd.xml @@ -1,31 +1,31 @@ - + FrenchToJD - Converte uma data do calendário Republicano da França para o calendário - "Julian Day Count". + Converts a date from the French Republican Calendar to a Julian + Day Count - Descrição + Description intfrenchtojd - intmês - intdia - intano + intmonth + intday + intyear - Converte uma data do calendário Republicano da França para o calendário - "Julian Day Count". + Converts a date from the French Republican Calendar to a Julian + Day Count. - Estas rotinas somente converte datas entre os anos de 1 até 14 - (datas Gregorianas de 22 de Setembro de 1792 até 22 de Setembro - de 1806). "This more than covers the period when the calendar was in - use." + These routines only convert dates in years 1 through 14 + (Gregorian dates 22 September 1792 through 22 September + 1806). This more than covers the period when the calendar was in + use. diff --git a/reference/calendar/functions/gregoriantojd.xml b/reference/calendar/functions/gregoriantojd.xml index a626902fcd..db01ae2da9 100644 --- a/reference/calendar/functions/gregoriantojd.xml +++ b/reference/calendar/functions/gregoriantojd.xml @@ -1,37 +1,33 @@ - + - GregorianToJD - Converte uma data do calendário Gregoriano para o calendário "Julian Day Count". + Converts a Gregorian date to Julian Day Count - Descrição + Description intgregoriantojd - intmês - intdia - intano + intmonth + intday + intyear - Escala válida para o Calendário Gregoriano: 4714 A.C. to 9999 D.C. + Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D. - Entretanto esta função pode trabalhar com todas datas anteriores à, - porém usá-la desta maneira não tem muito sentido. O Calendário Gregoriano - não foi instituído até 15 de Outubro de 1582 (ou 5 de Outubro de 1582, no - calendário JDC ("Julian Day Count")). Alguns países aceitaram este calendário - um pouco mais tarde. Por exemplo, a Grã Bretanha converteu-se em 1752, a URSS - em 1918 e a Grécia em 1923. A maioria dos países Europeus usaram o calendário - "Julian" (JDC) antes do calendário Gregoriano. + Although this function can handle dates all the way back to 4714 + B.C., such use may not be meaningful. The Gregorian calendar was + not instituted until October 15, 1582 (or October 5, 1582 in the + Julian calendar). Some countries did not accept it until much + later. For example, Britain converted in 1752, The USSR in 1918 + and Greece in 1923. Most European countries used the Julian + calendar prior to the Gregorian. - Funções do Calendário + Calendar functions - + JDDayOfWeek - Retorna o dia da semana + Returns the day of the week - Descrição + Description mixedjddayofweek intjulianday - intmodo + intmode - Retorna o dia da semana. Pode retornar uma "string" ou um inteiro - dependendo do modo utilizado. + Returns the day of the week. Can return a string or an integer + depending on the mode. - Calendários da semana (modos) + Calendar week modes - Modo - Significado + Mode + Meaning 0 - Retonra o dia da semana como sendo um número inteiro (0=domingo, 1=segunda, etc.) + Returns the day number as an int (0=sunday, 1=monday, etc) 1 - Retorna uma string contendo o dia da semana - (inglês-gregoriano) + Returns string containing the day of week + (english-gregorian) 2 - Retorna uma "string" contendo a abreviação do dia da semana - (inglês-gregoriano) + Returns a string containing the abbreviated day of week + (english-gregorian) diff --git a/reference/calendar/functions/jdmonthname.xml b/reference/calendar/functions/jdmonthname.xml index f4fdf03b79..708973e110 100644 --- a/reference/calendar/functions/jdmonthname.xml +++ b/reference/calendar/functions/jdmonthname.xml @@ -1,62 +1,62 @@ - + JDMonthName - REtorna o nome de um mês + Returns a month name - Descrição + Description stringjdmonthname intjulianday - intmodo + intmode - Retorna uma "string" contendo o nome do mês. - O parâmetro modo diz à função - qual calendário será convertido para o formato "Julian Day Count", - e o tipo do nome do mês. + Returns a string containing a month name. + mode tells this function which calendar to + convert the Julian Day Count to, and what type of month names are + to be returned.
- Calendário (modos) + Calendar modes - Modo - Significado - Valores + Mode + Meaning + Values 0 - Gregoriano - abreviado - Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez + Gregorian - abbreviated + Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec 1 - Gregoriano - Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro + Gregorian + January, February, March, April, May, June, July, August, September, October, November, December 2 - "Julian" - abreviado - Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez + Julian - abbreviated + Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec 3 - "Julian" - Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro + Julian + January, February, March, April, May, June, July, August, September, October, November, December 4 - Judeu + Jewish Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul 5 - Republicano Francês + French Republican Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra diff --git a/reference/calendar/functions/jdtofrench.xml b/reference/calendar/functions/jdtofrench.xml index abeb82c30f..bcb376f26a 100644 --- a/reference/calendar/functions/jdtofrench.xml +++ b/reference/calendar/functions/jdtofrench.xml @@ -1,21 +1,21 @@ - + JDToFrench - Converte do calendário "Julian Day Count" para o calendário Republicano Francês + Converts a Julian Day Count to the French Republican Calendar - Descrição + Description stringjdtofrench intjuliandaycount - Converte do calendário "Julian Day Count" para o calendário Republicano Francês + Converts a Julian Day Count to the French Republican Calendar. diff --git a/reference/calendar/functions/jdtogregorian.xml b/reference/calendar/functions/jdtogregorian.xml index d7f5eede6b..6e2ee391d2 100644 --- a/reference/calendar/functions/jdtogregorian.xml +++ b/reference/calendar/functions/jdtogregorian.xml @@ -1,20 +1,20 @@ - + JDToGregorian - Converte uma data no formato "Julian Day Count" para o formato Gregoriano + Converts Julian Day Count to Gregorian date - Descrição + Description stringjdtogregorian intjulianday - Converte "Julian Day Count" para uma "string" contendo a data em - formato Gregoriano "mês/dia/ano". + Converts Julian Day Count to a string containing the Gregorian + date in the format of "month/day/year". diff --git a/reference/calendar/functions/jdtojewish.xml b/reference/calendar/functions/jdtojewish.xml index eb859681d1..53b1156fe4 100644 --- a/reference/calendar/functions/jdtojewish.xml +++ b/reference/calendar/functions/jdtojewish.xml @@ -1,15 +1,15 @@ - + jdtojewish - Convete uma data do calendário "Julian Day Count" para o calendário Judaico + Converts a julian day count to a jewish calendar date - Descrição + Description stringjdtojewish intjuliandaycount @@ -17,23 +17,23 @@ intfl - Convete uma data do calendário "Julian Day Count" para o calendário Judaico + Converts a Julian Day Count the the Jewish Calendar. - Os parâmetros hebrew e fl - são opcionais e estarão disponíveis na versão do PHP 5.0.0 + The optional hebrew and fl + parameters became available in PHP 5.0.0 - Se o parâmetro hebrew for &true;, o parâmetro - fl a "string" de saída de dados é - baseada no formato "hebrew". Os formatos disponíveis são: + If the the hebrew parameter is set to &true;, the + fl parameter is used for hebrew, string based, + output format. The available formats are: CAL_JEWISH_ADD_ALAFIM_GERESH, CAL_JEWISH_ADD_ALAFIM, CAL_JEWISH_ADD_GERESHAYIM. - <function>jdtojewish</function> Exemplo + <function>jdtojewish</function> Example - + JDToJulian - Converte uma data do calendário "Julian Day Count" para o calendário "Julian" + Converts a Julian Day Count to a Julian Calendar Date - Descrição + Description stringjdtojulian intjulianday - Converte "Julian Day Count" para uma "string" contendo a data - do calendário "Julian" no formato "mês/dia/ano". + Converts Julian Day Count to a string containing the Julian + Calendar Date in the format of "month/day/year". diff --git a/reference/calendar/functions/jdtounix.xml b/reference/calendar/functions/jdtounix.xml index 7040e6b926..4175e251c3 100644 --- a/reference/calendar/functions/jdtounix.xml +++ b/reference/calendar/functions/jdtounix.xml @@ -1,27 +1,27 @@ - + jdtounix - Converte do formato "Julain Day" para o formato de datas do sistema UNIX ("timestamp") + Convert Julian Day to UNIX timestamp - Descrição + Description intjdtounix intjday - Esta função irá retorna a data do sistema UNIX correspondente ao - "Julian Day" especificado no parâmetro jday ou &false; - se jday não está dentre a escala de datas UNIX - (Anos Gregorianos entre 1970 e 2037 ou 2440588 <= - jday <= 2465342). A hora retornada é a - hora local (e não a GMT). + This function will return a UNIX timestamp corresponding to the + Julian Day given in jday or &false; if + jday is not inside the UNIX epoch + (Gregorian years between 1970 and 2037 or 2440588 <= + jday <= 2465342 ). The time returned is + localtime (and not GMT). - Veja também unixtojd. + See also unixtojd. diff --git a/reference/calendar/functions/jewishtojd.xml b/reference/calendar/functions/jewishtojd.xml index c004d6c14d..e3d928b719 100644 --- a/reference/calendar/functions/jewishtojd.xml +++ b/reference/calendar/functions/jewishtojd.xml @@ -1,31 +1,27 @@ - + - JewishToJD - Converte uma data do calendário Judaico para o calendário "Julian Day Count". + Converts a date in the Jewish Calendar to Julian Day Count - Descrição + Description intjewishtojd - intmês - intdia - intano + intmonth + intday + intyear - Entretanto esta função suporta datas anteriores ao ano 1 (3761 A.C.), - porém tal uso não faz sentido. O calendário Judaico vem sendo usado por - centenas de anos, porém os primeiros dias não tem uma fórmula que - determina qual é o começo do mês. Um novo mês começa quando uma lua nova - é vista. + Although this function can handle dates all the way back to the year 1 + (3761 B.C.), such use may not be meaningful. The Jewish calendar has + been in use for several thousand years, but in the early days there was + no formula to determine the start of a month. A new month was started + when the new moon was first observed. diff --git a/reference/calendar/functions/juliantojd.xml b/reference/calendar/functions/juliantojd.xml index 3e668dc038..cba0d4534a 100644 --- a/reference/calendar/functions/juliantojd.xml +++ b/reference/calendar/functions/juliantojd.xml @@ -1,41 +1,37 @@ - + - JulianToJD - Converte datas no formato "Julian" para o formato "Julian Day Count" + Converts a Julian Calendar date to Julian Day Count - Descrição + Description intjuliantojd - intmês - intdia - intano + intmonth + intday + intyear - O Calendário "Julian" vai de 4713 A.C. até 9999 D.C. + Valid Range for Julian Calendar 4713 B.C. to 9999 A.D. - Entretanto esta função trabalha com datas anteriores à 4713 A.C, - porém tal uso não faz muito sentido. O calendário foi criado em - 46 A.C., mas os detalhes não foram padronizados até o ano 8 D.C., - e talvez mais tarde no 4º século. Além disso, o começo do ano - variou de uma cultura para outra - nem todas aceitaram o Janeiro - como sendo o primeiro mês. + Although this function can handle dates all the way back to 4713 + B.C., such use may not be meaningful. The calendar was created in + 46 B.C., but the details did not stabilize until at least 8 A.D., + and perhaps as late at the 4th century. Also, the beginning of a + year varied from one culture to another - not all accepted + January as the first month. - Lembre-se, o sistema atual de calendário que é usado mundialmente é - o Gregoriano. A função gregoriantojd pode ser - usada para converter datas no formato Gregoriano para o formato "Julian Day Count". + Remember, the current calendar system being used worldwide is the + Gregorian calendar. gregoriantojd can be used to + convert such dates to their Julian Day count. diff --git a/reference/calendar/functions/unixtojd.xml b/reference/calendar/functions/unixtojd.xml index 3b4b9487f8..a51b781402 100644 --- a/reference/calendar/functions/unixtojd.xml +++ b/reference/calendar/functions/unixtojd.xml @@ -1,24 +1,24 @@ - + unixtojd - Converte datas do sistema UNIX para o "Julian Day" + Convert UNIX timestamp to Julian Day - Descrição + Description intunixtojd inttimestamp - Retorna o "Julian Day" para um UNIX timestamp - (segundos desde 1.1.1970), ou para o dia atual se nenhum - timestamp for especificado. + Return the Julian Day for a UNIX timestamp + (seconds since 1.1.1970), or for the current day if no + timestamp is given. - Veja também jdtounix. + See also jdtounix. diff --git a/reference/calendar/reference.xml b/reference/calendar/reference.xml index 63f3ce5d6d..51896e2385 100644 --- a/reference/calendar/reference.xml +++ b/reference/calendar/reference.xml @@ -1,24 +1,23 @@ - + - Calendário, funções - Calendário + Calendar functions + Calendar
&reftitle.intro; - A extensão de calendário contém uma série de funções para simplificar - a conversão de diferentes formatos de calendários. O calendário padrão - é baseado no formato "Julian Day Count". A contagem de dias do calendário - "Julian Day Count" começa em 1º de Janeiro de 4713 B.C. Para converter - um calendário para algum formato, você deve primeiro convertê-lo para o - formato "Julian Day Count", então converter para o sistema de calendário - de sua escolha. O formato de calendário "Julian Day Count" é muito diferente - do "Julian Calendar"! Para mais informações sobre o calendário "Julian Day Count", - visite &url.calendar.jd;. Para mais informações - sobre sistemas de calendários, visite: &url.calendar;. "Excerpts from this page are - included in these instructions, and are in quotes". + The calendar extension presents a series of functions to simplify + converting between different calendar formats. The intermediary or + standard it is based on is the Julian Day Count. The Julian Day Count is + a count of days starting from January 1st, 4713 B.C. To convert between + calendar systems, you must first convert to Julian Day Count, then to the + calendar system of your choice. Julian Day Count is very different from + the Julian Calendar! For more information on Julian Day Count, visit + &url.calendar.jd;. For more + information on calendar systems visit &url.calendar;. Excerpts from this page are + included in these instructions, and are in quotes.