Package Util

Package Util

Packages summary
Util\Captcha
Util\Pagination
Classes summary
Arrays
Bench This class is done to time a process easily. You choose when to start and when to stop.
Date

This class allows you to handle easily some dates. A date is a day and an hour (year, month, day, hour, minutes, seconds). It supports the most common formats and manages timezones. Here are the definitions of the 3 existing timezones:

  • System timezone: it's the timezone of the server, configured by the hoster. For instance, if your server is in France, it should be GMT+1.
  • Site timezone: it's the timezone of the central place of the site. For example, if your site deals with the italian soccer championship, it will be GMT+1.
  • User timezone : each registered user can specify its timezone. It's particulary useful for people who visit some sites from a foreign country.
Debug
KeyGenerator
MiniCalendar

This class enables you to retrieve easily a date entered by a user. If the user isn't in the same timezone as the server, the hour will be automatically recomputed.

Path
StringInputStream
StringOutputStream
StringVars Implements the string var replacement method
Timezone
Url
UrlSerializedParameter
UrlSerializedParameterEncoder
UrlSerializedParameterParser
ValidationResult This class is done to time a process easily. You choose when to start and when to stop.
Exceptions summary
IllegalArgumentException
NotYetImplementedException
RemainingStringVarException Implements the string var replacement method
UnsupportedOperationException Implements the string var replacement method