PHP Classes

File: docs/phpGPX-Helpers-DateTimeHelper.md

Recommend this page to a friend!
  Classes of Jakub Dubec   PHP GPX Library   docs/phpGPX-Helpers-DateTimeHelper.md   Download  
File: docs/phpGPX-Helpers-DateTimeHelper.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP GPX Library
Parser and generator of GPS Exchange files
Author: By
Last change:
Date: 7 years ago
Size: 1,015 bytes
 

Contents

Class file image Download

phpGPX\Helpers\DateTimeHelper

Class DateTimeHelper

  • Class name: DateTimeHelper
  • Namespace: phpGPX\Helpers

Methods

comparePointsByTimestamp

boolean|integer phpGPX\Helpers\DateTimeHelper::comparePointsByTimestamp(\phpGPX\Models\Point $point1, \phpGPX\Models\Point $point2)

  • Visibility: public
  • This method is static.

Arguments

formatDateTime

null|string phpGPX\Helpers\DateTimeHelper::formatDateTime($datetime, string $format, string $timezone)

  • Visibility: public
  • This method is static.

Arguments

  • $datetime mixed
  • $format string
  • $timezone string

parseDateTime

\DateTime phpGPX\Helpers\DateTimeHelper::parseDateTime($value, string $timezone)

  • Visibility: public
  • This method is static.

Arguments

  • $value mixed
  • $timezone string