diff --git a/reference/calendar/configure.xml b/reference/calendar/configure.xml index b30814baad..9f1c973703 100644 --- a/reference/calendar/configure.xml +++ b/reference/calendar/configure.xml @@ -1,9 +1,9 @@ - +
&reftitle.install; - To get these functions to work, you have to compile PHP with + Para estas funções funcionarem, você precisa compilar o PHP com . &windows.builtin; diff --git a/reference/calendar/constants.xml b/reference/calendar/constants.xml index e7c3b9c8c9..da5573c10b 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 - (integer) + (inteiro) @@ -18,7 +18,7 @@ CAL_JULIAN - (integer) + (inteiro) @@ -29,7 +29,7 @@ CAL_JEWISH - (integer) + (inteiro) @@ -40,7 +40,7 @@ CAL_FRENCH - (integer) + (inteiro) @@ -51,7 +51,7 @@ CAL_NUM_CALS - (integer) + (inteiro) @@ -62,7 +62,7 @@ CAL_DOW_DAYNO - (integer) + (inteiro) @@ -73,7 +73,7 @@ CAL_DOW_SHORT - (integer) + (inteiro) @@ -84,7 +84,7 @@ CAL_DOW_LONG - (integer) + (inteiro) @@ -95,7 +95,7 @@ CAL_MONTH_GREGORIAN_SHORT - (integer) + (inteiro) @@ -106,7 +106,7 @@ CAL_MONTH_GREGORIAN_LONG - (integer) + (inteiro) @@ -117,7 +117,7 @@ CAL_MONTH_JULIAN_SHORT - (integer) + (inteiro) @@ -128,7 +128,7 @@ CAL_MONTH_JULIAN_LONG - (integer) + (inteiro) @@ -139,7 +139,7 @@ CAL_MONTH_JEWISH - (integer) + (inteiro) @@ -150,7 +150,7 @@ CAL_MONTH_FRENCH - (integer) + (inteiro) @@ -160,13 +160,13 @@ - The following constants are available since PHP 4.3.0 : + As constantes abaixo estão disponíveis à partir da versão 4.3.0 do PHP : CAL_EASTER_DEFAULT - (integer) + (inteiro) @@ -177,7 +177,7 @@ CAL_EASTER_ROMAN - (integer) + (inteiro) @@ -188,7 +188,7 @@ CAL_EASTER_ALWAYS_GREGORIAN - (integer) + (inteiro) @@ -199,7 +199,7 @@ CAL_EASTER_ALWAYS_JULIAN - (integer) + (inteiro) @@ -209,13 +209,13 @@ - The following constants are available since PHP 5.0.0 : + As constantes abaixo estão disponíveis à partir da versão 5.0.0 do PHP : CAL_JEWISH_ADD_ALAFIM_GERESH - (integer) + (inteiro) @@ -226,7 +226,7 @@ CAL_JEWISH_ADD_ALAFIM - (integer) + (inteiro) @@ -237,7 +237,7 @@ CAL_JEWISH_ADD_GERESHAYIM - (integer) + (inteiro) diff --git a/reference/calendar/functions/cal-days-in-month.xml b/reference/calendar/functions/cal-days-in-month.xml index 5a6ff35e9b..d75b8f3cdb 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 - Return the number of days in a month for a given year and calendar + Retorna o número de dias em um mês de um calendário e ano requisitado - Description + Descrição intcal_days_in_month - intcalendar - intmonth - intyear + intcalendario + intmês + intano - This function will return the number of days in the - month of year for - the specified calendar. + ESta função irá retornar o número de dias em um + month do ano para + o calendário especificado. - <function>cal_days_in_month</function> example + <function>cal_days_in_month</function> exemplo ]]> - See also jdtounix. + Veja também jdtounix. diff --git a/reference/calendar/functions/cal-from-jd.xml b/reference/calendar/functions/cal-from-jd.xml index 90a7f3a413..eb20964cbc 100644 --- a/reference/calendar/functions/cal-from-jd.xml +++ b/reference/calendar/functions/cal-from-jd.xml @@ -1,41 +1,41 @@ - + cal_from_jd - Converts from Julian Day Count to a supported calendar + Converte à partir do "Julian Day Count" para um outro calendário suportado - Description + Descrição arraycal_from_jd intjd - intcalendar + intcalendário - cal_from_jd converts the julian day given in - jd into a date of the specified - calendar. Supported - calendar values are + 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_GREGORIAN, CAL_JULIAN, - CAL_JEWISH and + CAL_JEWISH e CAL_FRENCH. - <function>cal_from_jd</function> example + <function>cal_from_jd</function> exemplo ]]> - This will output : + Este código retorna: - See also cal_to_jd. + Veja também cal_to_jd. diff --git a/reference/calendar/functions/cal-info.xml b/reference/calendar/functions/cal-info.xml index d830bdf995..01b58efd9c 100644 --- a/reference/calendar/functions/cal-info.xml +++ b/reference/calendar/functions/cal-info.xml @@ -1,32 +1,32 @@ - + cal_info - Returns information about a particular calendar + Retorna informações sobre um calendário em particular - Description + Descrição arraycal_info - intcalendar + intcalendário - cal_info returns information on the - specified calendar or on all supported - calendars if no calendar is specified. + cal_info retorna as informações de um + calendário específico ou de todos os calendários + se nenhum calendário for especificado. - Calendar information is returned as an array containing the - elements calname, calsymbol, - month, abbrevmonth and + A informação do calendário especificado é retornada em um array contendo os + elementos calname, calsymbol, + month, abbrevmonth e maxdaysinmonth. - If no calendar is specified information on all - supported calendars is returned as an array. This functionality - will be available beginning with PHP 5. + 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. diff --git a/reference/calendar/functions/cal-to-jd.xml b/reference/calendar/functions/cal-to-jd.xml index 7558572275..5b3656e611 100644 --- a/reference/calendar/functions/cal-to-jd.xml +++ b/reference/calendar/functions/cal-to-jd.xml @@ -1,31 +1,31 @@ - + cal_to_jd - Converts from a supported calendar to Julian Day Count + Converte um calendário (suportado) para o calendário "Julian Day Count" - Description + Descrião intcal_to_jd - intcalendar - intmonth - intday - intyear + intcalendário + intmês + intdia + intano - cal_to_jd calculates the julian day count - for a date in the specified calendar. - Supported calendars are + 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_GREGORIAN, CAL_JULIAN, - CAL_JEWISH and + CAL_JEWISH e CAL_FRENCH. - See also cal_to_jd. + Veja também cal_to_jd. diff --git a/reference/calendar/functions/easter-date.xml b/reference/calendar/functions/easter-date.xml index dcb8143b17..057fdd4fc2 100644 --- a/reference/calendar/functions/easter-date.xml +++ b/reference/calendar/functions/easter-date.xml @@ -1,34 +1,39 @@ - + + easter_date - Get UNIX timestamp for midnight on Easter of a given year + 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. - Description + Descrição inteaster_date - intyear + intano - Returns the UNIX timestamp corresponding to midnight on Easter of - the given year. + 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. - Since PHP 4.3.0, the year - parameter is optional and defaults to the current year according to the - localtime if ommited. + À 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. - 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). + 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). - <function>easter_date</function> example + <function>easter_date</function> exemplo - 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. + 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 code is based on a C program by Simon Kershaw, + (O código é baseado em um programa feito em C por Simon Kershaw, <webmaster@ely.anglican.org>) - See easter_days for calculating Easter - before 1970 or after 2037. + Veja easter_days para calcular a Páscoa + antes de 1970 ou após 2037. diff --git a/reference/calendar/functions/easter-days.xml b/reference/calendar/functions/easter-days.xml index b73fb5e68f..fd36992d1f 100644 --- a/reference/calendar/functions/easter-days.xml +++ b/reference/calendar/functions/easter-days.xml @@ -1,46 +1,44 @@ - + easter_days - Get number of days after March 21 on which Easter falls for a - given year + Obtém o número de dias entre 21 de Março e o dia da Páscoa em + determinado ano. Description inteaster_days - intyear - intmethod + intano + intmétodo - 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. + 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. - Since PHP 4.3.0, the year - parameter is optional and defaults to the current year according to the - localtime if ommited. + À 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. - 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. + 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. - 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 + 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 - 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. + 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 code is based on a C program by Simon Kershaw, + (O código é baseado em um programa feito em C por Simon Kershaw, <webmaster@ely.anglican.org>) - See also easter_date. + Veja também easter_date. diff --git a/reference/calendar/functions/frenchtojd.xml b/reference/calendar/functions/frenchtojd.xml index f7ddc2ef65..394ddb3da1 100644 --- a/reference/calendar/functions/frenchtojd.xml +++ b/reference/calendar/functions/frenchtojd.xml @@ -1,31 +1,31 @@ - + FrenchToJD - Converts a date from the French Republican Calendar to a Julian - Day Count + Converte uma data do calendário Republicano da França para o calendário + "Julian Day Count". - Description + Descrição intfrenchtojd - intmonth - intday - intyear + intmês + intdia + intano - Converts a date from the French Republican Calendar to a Julian - Day Count. + Converte uma data do calendário Republicano da França para o calendário + "Julian Day Count". - 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. + 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." diff --git a/reference/calendar/functions/gregoriantojd.xml b/reference/calendar/functions/gregoriantojd.xml index 3066f47512..a626902fcd 100644 --- a/reference/calendar/functions/gregoriantojd.xml +++ b/reference/calendar/functions/gregoriantojd.xml @@ -1,33 +1,37 @@ - + + GregorianToJD - Converts a Gregorian date to Julian Day Count + Converte uma data do calendário Gregoriano para o calendário "Julian Day Count". - Description + Descrição intgregoriantojd - intmonth - intday - intyear + intmês + intdia + intano - Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D. + Escala válida para o Calendário Gregoriano: 4714 A.C. to 9999 D.C. - 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. + 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. - Calendar functions + Funções do Calendário - + JDDayOfWeek - Returns the day of the week + Retorna o dia da semana - Description + Descrição mixedjddayofweek intjulianday - intmode + intmodo - Returns the day of the week. Can return a string or an integer - depending on the mode. + Retorna o dia da semana. Pode retornar uma "string" ou um inteiro + dependendo do modo utilizado. - Calendar week modes + Calendários da semana (modos) - Mode - Meaning + Modo + Significado 0 - Returns the day number as an int (0=sunday, 1=monday, etc) + Retonra o dia da semana como sendo um número inteiro (0=domingo, 1=segunda, etc.) 1 - Returns string containing the day of week - (english-gregorian) + Retorna uma string contendo o dia da semana + (inglês-gregoriano) 2 - Returns a string containing the abbreviated day of week - (english-gregorian) + Retorna uma "string" contendo a abreviação do dia da semana + (inglês-gregoriano) diff --git a/reference/calendar/functions/jdmonthname.xml b/reference/calendar/functions/jdmonthname.xml index 4e55bc8cc3..f4fdf03b79 100644 --- a/reference/calendar/functions/jdmonthname.xml +++ b/reference/calendar/functions/jdmonthname.xml @@ -1,62 +1,62 @@ - + JDMonthName - Returns a month name + REtorna o nome de um mês - Description + Descrição stringjdmonthname intjulianday - intmode + intmodo - 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. + 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.
- Calendar modes + Calendário (modos) - Mode - Meaning - Values + Modo + Significado + Valores 0 - Gregorian - abbreviated - Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec + Gregoriano - abreviado + Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez 1 - Gregorian - January, February, March, April, May, June, July, August, September, October, November, December + Gregoriano + Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro 2 - Julian - abbreviated - Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec + "Julian" - abreviado + Jan, Fev, Mar, Abr, Mai, Jun, Jul, Ago, Set, Out, Nov, Dez 3 - Julian - January, February, March, April, May, June, July, August, September, October, November, December + "Julian" + Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro 4 - Jewish + Judeu Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul 5 - French Republican + Republicano Francês 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 1cf522018c..abeb82c30f 100644 --- a/reference/calendar/functions/jdtofrench.xml +++ b/reference/calendar/functions/jdtofrench.xml @@ -1,21 +1,21 @@ - + JDToFrench - Converts a Julian Day Count to the French Republican Calendar + Converte do calendário "Julian Day Count" para o calendário Republicano Francês - Description + Descrição stringjdtofrench intjuliandaycount - Converts a Julian Day Count to the French Republican Calendar. + Converte do calendário "Julian Day Count" para o calendário Republicano Francês diff --git a/reference/calendar/functions/jdtogregorian.xml b/reference/calendar/functions/jdtogregorian.xml index ab44156ecf..d7f5eede6b 100644 --- a/reference/calendar/functions/jdtogregorian.xml +++ b/reference/calendar/functions/jdtogregorian.xml @@ -1,20 +1,20 @@ - + JDToGregorian - Converts Julian Day Count to Gregorian date + Converte uma data no formato "Julian Day Count" para o formato Gregoriano - Description + Descrição stringjdtogregorian intjulianday - Converts Julian Day Count to a string containing the Gregorian - date in the format of "month/day/year". + Converte "Julian Day Count" para uma "string" contendo a data em + formato Gregoriano "mês/dia/ano". diff --git a/reference/calendar/functions/jdtojewish.xml b/reference/calendar/functions/jdtojewish.xml index b020949116..eb859681d1 100644 --- a/reference/calendar/functions/jdtojewish.xml +++ b/reference/calendar/functions/jdtojewish.xml @@ -1,15 +1,15 @@ - + jdtojewish - Converts a julian day count to a jewish calendar date + Convete uma data do calendário "Julian Day Count" para o calendário Judaico - Description + Descrição stringjdtojewish intjuliandaycount @@ -17,23 +17,23 @@ intfl - Converts a Julian Day Count the the Jewish Calendar. + Convete uma data do calendário "Julian Day Count" para o calendário Judaico - The optional hebrew and fl - parameters became available in PHP 5.0.0 + Os parâmetros hebrew e fl + são opcionais e estarão disponíveis na versão do PHP 5.0.0 - If the the hebrew parameter is set to &true;, the - fl parameter is used for hebrew, string based, - output format. The available formats are: + 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: CAL_JEWISH_ADD_ALAFIM_GERESH, CAL_JEWISH_ADD_ALAFIM, CAL_JEWISH_ADD_GERESHAYIM. - <function>jdtojewish</function> Example + <function>jdtojewish</function> Exemplo - + JDToJulian - Converts a Julian Day Count to a Julian Calendar Date + Converte uma data do calendário "Julian Day Count" para o calendário "Julian" - Description + Descrição stringjdtojulian intjulianday - Converts Julian Day Count to a string containing the Julian - Calendar Date in the format of "month/day/year". + Converte "Julian Day Count" para uma "string" contendo a data + do calendário "Julian" no formato "mês/dia/ano". diff --git a/reference/calendar/functions/jdtounix.xml b/reference/calendar/functions/jdtounix.xml index b6a639dd88..7040e6b926 100644 --- a/reference/calendar/functions/jdtounix.xml +++ b/reference/calendar/functions/jdtounix.xml @@ -1,27 +1,27 @@ - + jdtounix - Convert Julian Day to UNIX timestamp + Converte do formato "Julain Day" para o formato de datas do sistema UNIX ("timestamp") - Description + Descrição intjdtounix intjday - 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). + 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). - See also unixtojd. + Veja também unixtojd. diff --git a/reference/calendar/functions/jewishtojd.xml b/reference/calendar/functions/jewishtojd.xml index b9677ea1af..c004d6c14d 100644 --- a/reference/calendar/functions/jewishtojd.xml +++ b/reference/calendar/functions/jewishtojd.xml @@ -1,27 +1,31 @@ - + + JewishToJD - Converts a date in the Jewish Calendar to Julian Day Count + Converte uma data do calendário Judaico para o calendário "Julian Day Count". - Description + Descrição intjewishtojd - intmonth - intday - intyear + intmês + intdia + intano - 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. + 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. diff --git a/reference/calendar/functions/juliantojd.xml b/reference/calendar/functions/juliantojd.xml index d132c1c3cd..3e668dc038 100644 --- a/reference/calendar/functions/juliantojd.xml +++ b/reference/calendar/functions/juliantojd.xml @@ -1,37 +1,41 @@ - + + JulianToJD - Converts a Julian Calendar date to Julian Day Count + Converte datas no formato "Julian" para o formato "Julian Day Count" - Description + Descrição intjuliantojd - intmonth - intday - intyear + intmês + intdia + intano - Valid Range for Julian Calendar 4713 B.C. to 9999 A.D. + O Calendário "Julian" vai de 4713 A.C. até 9999 D.C. - 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. + 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. - 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. + 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". diff --git a/reference/calendar/functions/unixtojd.xml b/reference/calendar/functions/unixtojd.xml index 8f3dbd5425..3b4b9487f8 100644 --- a/reference/calendar/functions/unixtojd.xml +++ b/reference/calendar/functions/unixtojd.xml @@ -1,24 +1,24 @@ - + unixtojd - Convert UNIX timestamp to Julian Day + Converte datas do sistema UNIX para o "Julian Day" - Description + Descrição intunixtojd inttimestamp - Return the Julian Day for a UNIX timestamp - (seconds since 1.1.1970), or for the current day if no - timestamp is given. + Retorna o "Julian Day" para um UNIX timestamp + (segundos desde 1.1.1970), ou para o dia atual se nenhum + timestamp for especificado. - See also jdtounix. + Veja também jdtounix. diff --git a/reference/calendar/reference.xml b/reference/calendar/reference.xml index 2470bc115e..63f3ce5d6d 100644 --- a/reference/calendar/reference.xml +++ b/reference/calendar/reference.xml @@ -1,23 +1,24 @@ - + - Calendar functions - Calendar + Calendário, funções + Calendário
&reftitle.intro; - 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. + 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".