]> git.mjollnir.org Git - s9y.git/commitdiff
PHPDoc comments updated
authoromidmottaghi <omidmottaghi>
Sat, 26 Nov 2005 18:31:51 +0000 (18:31 +0000)
committeromidmottaghi <omidmottaghi>
Sat, 26 Nov 2005 18:31:51 +0000 (18:31 +0000)
include/functions_calendars.inc.php

index e14cdeeb149a59a3518cb405d9c29d0277d745d3..5ee6d2ad1dad5f3481f8b255cced24f566cb14a2 100644 (file)
@@ -55,7 +55,7 @@ function g2j($g_y, $g_m, $g_d){
 }
 
 /**
- * Gregorian to Jalali Convertor
+ * Jalali to Gregorian Convertor
  *
  * @author farsiweb.info
  * @access public
@@ -107,13 +107,13 @@ function j2g($j_y, $j_m, $j_d){
 }
     
 /**
- * Format a string according to Jalali calendar
+ * Format a string according to Jalali calendar (UTF)
  *
  * @author  Omid Mottaghi
  * @access public
  * @param   string  Formatting string
  * @param   int     Timestamp to format
- * @return  string  Formatted stamp
+ * @return  string  Formatted local time/date according to locale settings
  */
 function jalali_strftime_utf($format, $timestamp) {
     
@@ -258,7 +258,7 @@ function jalali_strftime_utf($format, $timestamp) {
  * @access public
  * @param   string  Formatting string
  * @param   int     Timestamp to format
- * @return
+ * @return  string  Formatted local time/date
  */
 function jalali_date_utf($format, $timestamp) {
     
@@ -396,7 +396,7 @@ function jalali_date_utf($format, $timestamp) {
 }
 
 /**
- * Create a jalali timestamp from a gregorian timestamp
+ * Create a Jalali timestamp from a Gregorian timestamp
  *
  * @author Omid Mottaghi
  * @access public
@@ -406,7 +406,7 @@ function jalali_date_utf($format, $timestamp) {
  * @param   int month
  * @param   int day
  * @param   int year
- * @param   int DST-Format?
+ * @param   int is daylight savings time set?
  * @return  int returned timestamp
  */
 function jalali_mktime($hour=0, $min=0, $sec=0, $mon=1, $day=1, $year=1970, $is_dst=-1){