Permalink
Browse files

fixing readme

  • Loading branch information...
1 parent 182b88b commit f82d6f9badc8a1c41915236561241c53574e4380 asanghi committed Jul 24, 2009
Showing with 23 additions and 33 deletions.
  1. +23 −33 README.markdown
View
@@ -71,95 +71,85 @@ Indian Fiscal Year starts from 1st of April
Assume Date.today is 1st May 2009
-* financial_year
- Returns the financial year of the date/time
+### financial_year -> Returns the financial year of the date/time
Date.today.financial_year
=> 2009
Date.today.beginning_of_year.financial_year
=> 2008
Since 1st Jan 2009 in India falls in the 2008-09 financial year
-* beginning_of_financial_year
- Returns the beginning of financial year
+### beginning_of_financial_year -> Returns the beginning of financial year
Date.today.beginning_of_financial_year
=> 1st April 2009
Date.today.beginning_of_year.beginning_of_financial_year
=> 1st April 2008
-* end_of_financial_year
+### end_of_financial_year
-* beginning_of_financial_q1
-* end_of_financial_q1
+### beginning_of_financial_q1
+### end_of_financial_q1
-* beginning_of_financial_q2
-* end_of_financial_q2
+### beginning_of_financial_q2
+### end_of_financial_q2
-* beginning_of_financial_q3
-* end_of_financial_q3
+### beginning_of_financial_q3
+### end_of_financial_q3
-* beginning_of_financial_q4
-* end_of_financial_q4
+### beginning_of_financial_q4
+### end_of_financial_q4
-* beginning_of_financial_h1
-* end_of_financial_h1
+### beginning_of_financial_h1
+### end_of_financial_h1
-* beginning_of_financial_h2
-* end_of_financial_h2
+### beginning_of_financial_h2
+### end_of_financial_h2
-* financial_quarter
- Returns Q1, Q2, Q3, Q4 depending on where the date falls
+### financial_quarter -> Returns Q1, Q2, Q3, Q4 depending on where the date falls
Date.today.financial_quarter
=> Q1
Date.today.beginning_of_year.financial_quarter
=> Q4
-* financial_half
- Returns H1, H2 depending on where the date falls
+### financial_half -> Returns H1, H2 depending on where the date falls
Date.today.financial_half
=> H1
Date.today.beginning_of_year.financial_half
=> H2
-* next_financial_quarter
- Takes you to the beginning of the next financial quarter
+### next_financial_quarter -> Takes you to the beginning of the next financial quarter
Date.today.next_financial_quarter
=> 1st July 2009
-* next_financial_half
- Takes you to the beginning of the next financial half
+### next_financial_half -> Takes you to the beginning of the next financial half
Date.today.next_financial_half
=> 1st October 2009
-* beginning_of_financial_quarter
- Take you to the beginning of the current financial quarter
+### beginning_of_financial_quarter -> Takes you to the beginning of the current financial quarter
Date.today.beginning_of_financial_quarter
=> 1st April 2009
Date.today.beginning_of_year.beginning_of_financial_quarter
=> 1st Jan 2009
-* beginning_of_financial_half
- Take you to the beginning of the current financial half
+### beginning_of_financial_half -> Takes you to the beginning of the current financial half
Date.today.beginning_of_financial_half
=> 1st April 2009
Date.today.beginning_of_year.beginning_of_financial_quarter
=> 1st Oct 2008
-* previous_financial_quarter
- Take you to the beginning of the previous financial quarter
+### previous_financial_quarter -> Takes you to the beginning of the previous financial quarter
Date.today.previous_financial_quarter
=> 1st Jan 2009
Date.today.beginning_of_year.previous_financial_quarter
=> 1st Oct 2008
-* previous_financial_half
- Take you to the beginning of the previous financial half
+### previous_financial_half -> Takes you to the beginning of the previous financial half
Date.today.previous_financial_half
=> 1st Oct 2008

0 comments on commit f82d6f9

Please sign in to comment.