/dports/devel/pear-Date_Holidays_USA/Date_Holidays_USA-0.1.1/tests/ |
H A D | Date_Holidays_Driver_USA_TestSuite.php | 63 $this->assertEquals(12, $day->getMonth()); 73 $this->assertEquals(1, $day->getMonth()); 81 $this->assertEquals(2, $day->getMonth()); 89 $this->assertEquals(5, $day->getMonth()); 97 $this->assertEquals(7, $day->getMonth()); 105 $this->assertEquals(9, $day->getMonth()); 113 $this->assertEquals(10, $day->getMonth()); 165 $this->assertEquals(1, $day->getMonth()); 173 $this->assertEquals(2, $day->getMonth()); 181 $this->assertEquals(5, $day->getMonth()); [all …]
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_source/src/bindings/ruby/test/annotation/ |
H A D | TestAnnotationCopyAndClone.rb | 81 assert( date.getMonth() == 12 ) 85 assert( date2.getMonth() == 12 ) 93 assert( date.getMonth() == 12 ) 96 assert( date2.getMonth() == 12 ) 104 assert( date.getMonth() == 12 ) 107 assert( date2.getMonth() == 12 ) 164 assert( mh.getCreatedDate().getMonth() == 12 ) 169 assert( mh2.getCreatedDate().getMonth() == 12 ) 187 assert( mh.getCreatedDate().getMonth() == 12 ) 191 assert( mh2.getCreatedDate().getMonth() == 12 ) [all …]
|
/dports/biology/libsbml/libsbml-5.19.0/src/bindings/ruby/test/annotation/ |
H A D | TestAnnotationCopyAndClone.rb | 81 assert( date.getMonth() == 12 ) 85 assert( date2.getMonth() == 12 ) 93 assert( date.getMonth() == 12 ) 96 assert( date2.getMonth() == 12 ) 104 assert( date.getMonth() == 12 ) 107 assert( date2.getMonth() == 12 ) 164 assert( mh.getCreatedDate().getMonth() == 12 ) 169 assert( mh2.getCreatedDate().getMonth() == 12 ) 187 assert( mh.getCreatedDate().getMonth() == 12 ) 191 assert( mh2.getCreatedDate().getMonth() == 12 ) [all …]
|
/dports/devel/R-cran-gdata/gdata/man/ |
H A D | getDateTimePart.Rd | 17 \alias{getMonth} 18 \alias{getMonth.default} 19 \alias{getMonth.Date} 20 \alias{getMonth.POSIXct} 21 \alias{getMonth.POSIXlt} 48 getMonth(x, format, \dots) 81 getMonth(tmp) 89 getMonth(tmp) 97 getMonth(tmp)
|
/dports/games/scourge/scourge/src/ |
H A D | date.cpp | 179 addMonth( d.getMonth() ); in addDate() 197 else if ( month < d.getMonth() ) return true; in isInferiorTo() 198 else if ( month > d.getMonth() ) return false; in isInferiorTo() 250 …return( date.getYear() < getYear() || ( date.getYear() == getYear() && date.getMonth() < getMonth(… in isADayLater() 251 … ( date.getYear() == getYear() && date.getMonth() == getMonth() && date.getDay() < getDay() ) ); in isADayLater() 257 …return( date.getYear() < getYear() || ( date.getYear() == getYear() && date.getMonth() < getMonth(… in isAnHourLater() 258 … ( date.getYear() == getYear() && date.getMonth() == getMonth() && date.getDay() < getDay() ) || in isAnHourLater() 259 …( date.getYear() == getYear() && date.getMonth() == getMonth() && date.getDay() == getDay() && dat… in isAnHourLater()
|
/dports/net/storj/storj-1.45.3/web/satellite/src/utils/ |
H A D | datepicker.ts | 42 const isMonthEqual = this.moment.getMonth() === dateToCompare.getMonth(); 70 this.month = date.getMonth(); 118 const currentMonth = this.now.getMonth(); 138 previousMonth.setMonth(previousMonth.getMonth() - 1); 145 …const daysInPreviousMonth = new Date(previousMonth.getFullYear(), previousMonth.getMonth() + 1, 0)… 150 moment.setMonth(moment.getMonth() - 1); 151 moment.setDate(new Date(moment.getFullYear(), moment.getMonth() + 1, 0).getDate() - i); 171 moment.setMonth(moment.getMonth() + 1);
|
/dports/biology/libsbml/libsbml-5.19.0/src/bindings/csharp/test/annotation/ |
H A D | TestCopyAndClone.cs | 180 assertTrue( date.getMonth() == 12 ); in test_Date_assignmentOperator() 184 assertTrue( date2.getMonth() == 12 ); in test_Date_assignmentOperator() 193 assertTrue( date.getMonth() == 12 ); in test_Date_clone() 196 assertTrue( date2.getMonth() == 12 ); in test_Date_clone() 205 assertTrue( date.getMonth() == 12 ); in test_Date_copyConstructor() 208 assertTrue( date2.getMonth() == 12 ); in test_Date_copyConstructor() 269 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 274 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 293 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() 297 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() [all …]
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_source/src/bindings/csharp/test/annotation/ |
H A D | TestCopyAndClone.cs | 180 assertTrue( date.getMonth() == 12 ); in test_Date_assignmentOperator() 184 assertTrue( date2.getMonth() == 12 ); in test_Date_assignmentOperator() 193 assertTrue( date.getMonth() == 12 ); in test_Date_clone() 196 assertTrue( date2.getMonth() == 12 ); in test_Date_clone() 205 assertTrue( date.getMonth() == 12 ); in test_Date_copyConstructor() 208 assertTrue( date2.getMonth() == 12 ); in test_Date_copyConstructor() 269 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 274 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 293 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() 297 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() [all …]
|
/dports/java/jcommon/jcommon-1.0.23/src/main/java/org/jfree/date/ |
H A D | SerialDateUtilities.java | 173 m1 = start.getMonth(); in dayCount30() 176 m2 = end.getMonth(); in dayCount30() 209 m1 = start.getMonth(); in dayCount30ISDA() 215 m2 = end.getMonth(); in dayCount30ISDA() 253 m1 = start.getMonth(); in dayCount30PSA() 264 m2 = end.getMonth(); in dayCount30PSA() 300 m1 = start.getMonth(); in dayCount30E() 306 m2 = end.getMonth(); in dayCount30E() 333 if (d.getMonth() == MonthConstants.FEBRUARY) { in isLastDayOfFebruary()
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_source/src/bindings/python/test/annotation/ |
H A D | TestAnnotationCopyAndClone.py | 85 self.assert_( date.getMonth() == 12 ) 89 self.assert_( date2.getMonth() == 12 ) 97 self.assert_( date.getMonth() == 12 ) 100 self.assert_( date2.getMonth() == 12 ) 108 self.assert_( date.getMonth() == 12 ) 111 self.assert_( date2.getMonth() == 12 ) 168 self.assert_( mh.getCreatedDate().getMonth() == 12 ) 173 self.assert_( mh2.getCreatedDate().getMonth() == 12 ) 191 self.assert_( mh.getCreatedDate().getMonth() == 12 ) 195 self.assert_( mh2.getCreatedDate().getMonth() == 12 ) [all …]
|
/dports/biology/libsbml/libsbml-5.19.0/src/bindings/python/test/annotation/ |
H A D | TestAnnotationCopyAndClone.py | 85 self.assert_( date.getMonth() == 12 ) 89 self.assert_( date2.getMonth() == 12 ) 97 self.assert_( date.getMonth() == 12 ) 100 self.assert_( date2.getMonth() == 12 ) 108 self.assert_( date.getMonth() == 12 ) 111 self.assert_( date2.getMonth() == 12 ) 168 self.assert_( mh.getCreatedDate().getMonth() == 12 ) 173 self.assert_( mh2.getCreatedDate().getMonth() == 12 ) 191 self.assert_( mh.getCreatedDate().getMonth() == 12 ) 195 self.assert_( mh2.getCreatedDate().getMonth() == 12 ) [all …]
|
/dports/devel/R-cran-gdata/gdata/tests/unitTests/ |
H A D | runit.getDateTimeParts.R | 52 checkException(getMonth(x=num)) 53 checkException(getMonth(x=cha)) 54 checkException(getMonth(x=fac)) 56 checkIdentical(getMonth(x=cDate), tMonth) 57 checkIdentical(getMonth(x=cDatePOSIXct), tMonth) 58 checkIdentical(getMonth(x=cDatePOSIXlt), tMonth)
|
/dports/deskutils/kalendar/kalendar-0.4.0/src/contents/ui/ |
H A D | DatePicker.qml | 19 property int month: selectedDate.getMonth() 47 …const monthDiff = date.getMonth() - monthPathView.currentItem.firstDayOfMonth.getMonth() + (12 * (… 58 …newMonthIndex = date.getMonth() - firstMonthItemDate.getMonth() + (12 * (date.getFullYear() - firs… 104 …selectedDate = new Date(selectedDate.getFullYear(), selectedDate.getMonth() - 1, selectedDate.getD… 108 …selectedDate = new Date(selectedDate.getFullYear(), selectedDate.getMonth() + 1, selectedDate.getD… 112 …selectedDate = new Date(selectedDate.getFullYear() - 1, selectedDate.getMonth(), selectedDate.getD… 274 month: firstDay.getMonth() + 1 // From pathview model 303 date.getMonth() === clickedDate.getMonth() && 385 highlighted: date.getMonth() === new Date().getMonth() && 388 checked: date.getMonth() === clickedDate.getMonth() && [all …]
|
/dports/biology/libsbml/libsbml-5.19.0/src/bindings/java/test/org/sbml/libsbml/test/annotation/ |
H A D | TestCopyAndClone.java | 175 assertTrue( date.getMonth() == 12 ); in test_Date_assignmentOperator() 179 assertTrue( date2.getMonth() == 12 ); in test_Date_assignmentOperator() 188 assertTrue( date.getMonth() == 12 ); in test_Date_clone() 191 assertTrue( date2.getMonth() == 12 ); in test_Date_clone() 200 assertTrue( date.getMonth() == 12 ); in test_Date_copyConstructor() 203 assertTrue( date2.getMonth() == 12 ); in test_Date_copyConstructor() 264 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 269 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 288 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() 292 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() [all …]
|
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_source/src/bindings/java/test/org/sbml/libsbml/test/annotation/ |
H A D | TestCopyAndClone.java | 175 assertTrue( date.getMonth() == 12 ); in test_Date_assignmentOperator() 179 assertTrue( date2.getMonth() == 12 ); in test_Date_assignmentOperator() 188 assertTrue( date.getMonth() == 12 ); in test_Date_clone() 191 assertTrue( date2.getMonth() == 12 ); in test_Date_clone() 200 assertTrue( date.getMonth() == 12 ); in test_Date_copyConstructor() 203 assertTrue( date2.getMonth() == 12 ); in test_Date_copyConstructor() 264 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 269 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_assignmentOperator() 288 assertTrue( mh.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() 292 assertTrue( mh2.getCreatedDate().getMonth() == 12 ); in test_ModelHistory_clone() [all …]
|
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/ |
H A D | Test_org_eclipse_swt_widgets_DateTime.java | 294 assertEquals(AUG, datetime.getMonth()); in test_setDateIII() 299 assertEquals(NOV, datetime.getMonth()); in test_setDateIII() 304 assertEquals(FEB, datetime.getMonth()); in test_setDateIII() 309 assertEquals(FEB, datetime.getMonth()); in test_setDateIII() 314 assertEquals(JAN, datetime.getMonth()); in test_setDateIII() 327 assertEquals(NOV, datetime.getMonth()); in test_setDateIII() 333 assertEquals(JAN, datetime.getMonth()); in test_setDateIII() 338 assertEquals(0, datetime.getMonth()); in test_setDateIII() 343 assertEquals(11, datetime.getMonth()); in test_setDateIII() 348 assertEquals(JAN, datetime.getMonth()); in test_setDateIII() [all …]
|
/dports/java/jcommon/jcommon-1.0.23/src/test/java/org/jfree/date/ |
H A D | SpreadsheetDateTest.java | 126 final int month = this.s2.getMonth(); in testS2GetMonth() 144 assertEquals(MonthConstants.DECEMBER, d.getMonth()); in test37986() 154 assertEquals(MonthConstants.JANUARY, d.getMonth()); in test37987() 164 assertEquals(MonthConstants.DECEMBER, d.getMonth()); in test38352() 174 assertEquals(MonthConstants.JANUARY, d.getMonth()); in test38353() 184 assertEquals(MonthConstants.FEBRUARY, d.getMonth()); in test36584() 194 assertEquals(MonthConstants.FEBRUARY, d.getMonth()); in test36585() 204 assertEquals(MonthConstants.MARCH, d.getMonth()); in test36586()
|
/dports/devel/rudiments/rudiments-1.2.2/test/ |
H A D | datetime.cpp | 39 test("month",dt.getMonth()==2); in main() 79 test("month",dt.getMonth()==4); in main() 107 test("month",dt.getMonth()==4); in main() 137 test("month",dt.getMonth()==4); in main() 165 test("addSeconds(1) month",dt.getMonth()==4); in main() 213 test("addHours(1) month",dt.getMonth()==4); in main() 221 test("addHours(-1) month",dt.getMonth()==4); in main() 229 test("addDays(1) month",dt.getMonth()==4); in main() 237 test("addDays(-1) month",dt.getMonth()==4); in main() 245 test("addMonths(1) month",dt.getMonth()==5); in main() [all …]
|
/dports/www/p5-JE/JE-0.066/t/ |
H A D | 15.09-dates.t | 758 'getMonth - 1 Jan in leap year') 762 'getMonth - 1 Feb in leap year') 766 'getMonth - 1 Mar in leap year') 770 'getMonth - 1 Apr in leap year') 774 'getMonth - 1 May in leap year') 778 'getMonth - 1 Jun in leap year') 782 'getMonth - 1 Jul in leap year') 786 'getMonth - 1 Aug in leap year') 790 'getMonth - 1 Sep in leap year') 794 'getMonth - 1 Oct in leap year') [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 117 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_nonLeap() 130 assertEquals(test.getMonth(), month); in test_firstDayOfMonth_leap() 151 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_nonLeap() 164 assertEquals(test.getMonth(), month); in test_lastDayOfMonth_leap() 185 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_nonLeap() 198 assertEquals(test.getMonth(), month.plus(1)); in test_firstDayOfNextMonth_leap() 219 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_nonLeap() 232 assertEquals(test.getMonth(), Month.JANUARY); in test_firstDayOfYear_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 287 assertEquals(test.getMonth(), JANUARY); in test_firstDayOfNextYear_nonLeap() [all …]
|