Overview

Packages

  • Jyxo_Beholder
  • Jyxo_Charset
  • Jyxo_Color
  • Jyxo_Css
  • Jyxo_ErrorHandling
  • Jyxo_FirePhp
  • Jyxo_Gettext
    • Parser
  • Jyxo_Html
  • Jyxo_Input
    • Chain
    • Filter
    • Validator
  • Jyxo_Mail
    • Email
    • Parser
    • Sender
  • Jyxo_Rpc
    • Json
    • Xml
  • Jyxo_Shell
  • Jyxo_SpamFilter
  • Jyxo_Spl
  • Jyxo_String
  • Jyxo_Svn
  • Jyxo_Time
  • Jyxo_Timer
  • Jyxo_Webdav
  • Jyxo_XmlReader
  • PHP

Classes

  • Jyxo_Time_Composer
  • Jyxo_Time_Time
  • Jyxo_Time_Util

Exceptions

  • Jyxo_Time_ComposerException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class Jyxo_Time_Util

Various utilities for working with date/time.

Category: Jyxo
Package: Jyxo_Time
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Jakub Tománek
Located at Time/Util.php
Methods summary
public static Jyxo_Time_Time
# nextMonth( Jyxo_Time_Time $now = null )

Returns the next month.

Returns the next month.

If the current date is greater than the next month's number of days, returns the next month's last date. This is different from strtotime('+1 month') behaviour, where August 31st returns October 1st.

Parameters

$now
integer
Current date/time

Returns

Jyxo_Time_Time
public static boolean
# isWorkDay( Jyxo_Time_Time $day )

Checks if the given date is a working day.

Checks if the given date is a working day.

Parameters

$day
Jyxo_Time_Time
Date to be checked

Returns

boolean
Jyxo PHP Library API documentation generated by ApiGen 2.3.0