Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-admin/src/API/Reports/TimeInterval.php

TimeInterval::normalize_between_params()

Method: Normalize “*_between” parameters to “*_min” and “*_max” for numeric values and “*_after” and “*_before” for date values.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:541

Used by 2 functions | Uses 0 functions

TimeInterval::rest_validate_between_numeric_arg()

Method: Validate a “*_between” range argument (an array with 2 numeric items).

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:582

Used by 0 functions | Uses 0 functions

TimeInterval::rest_validate_between_date_arg()

Method: Validate a “*_between” range argument (an array with 2 date items).

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:614

Used by 0 functions | Uses 0 functions

TimeInterval::next_hour_start()

Method: Returns a new DateTime object representing the next hour start/previous hour end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:281

Used by 0 functions | Uses 1 function

TimeInterval::next_day_start()

Method: Returns a new DateTime object representing the next day start, or previous day end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:304

Used by 1 function | Uses 1 function

TimeInterval::next_week_start()

Method: Returns DateTime object representing the next week start, or previous week end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:332

Used by 1 function | Uses 2 functions

TimeInterval::next_month_start()

Method: Returns a new DateTime object representing the next month start, or previous month end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:358

Used by 0 functions | Uses 1 function

TimeInterval::next_quarter_start()

Method: Returns a new DateTime object representing the next quarter start, or previous quarter end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:388

Used by 0 functions | Uses 1 function

TimeInterval::next_year_start()

Method: Return a new DateTime object representing the next year start, or previous year end if reversed.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:448

Used by 0 functions | Uses 1 function

TimeInterval::iterate()

Method: Returns beginning of next time interval for provided DateTime.

Source: packages/woocommerce-admin/src/API/Reports/TimeInterval.php:477

Used by 3 functions | Uses 0 functions
1 2 3 Next »
Proudly powered by WordPress