Overview

Namespaces

  • Jyxo
    • Beholder
      • TestCase
    • Gettext
      • Parser
    • Input
      • Chain
      • Filter
      • Validator
    • Mail
      • Email
        • Attachment
      • Parser
      • Sender
    • Rpc
      • Json
      • Xml
    • Shell
    • Spl
    • Svn
    • Time
    • Webdav
  • PHP

Classes

  • Composer
  • Time
  • Util

Exceptions

  • ComposerException
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated

Class Util

Various utilities for working with date/time.

Namespace: Jyxo\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