You are here

DatexInterface.php in Datex 8

Same filename and directory in other branches
  1. 7.3 src/Datex/DatexInterface.php

Namespace

Drupal\datex\Datex

File

src/Datex/DatexInterface.php
View source
<?php

namespace Drupal\datex\Datex;

interface DatexInterface {
  function xFormat($format);
  function format($format);
  function formatArray();
  function xFormatArray();

  //-----------------------------------
  function xSetDate($y, $m, $d);
  function setDateLocale($y, $m, $d);
  function setTime($hour, $minute, $second);
  function parse($value, $format);

  //-----------------------------------
  function setTimestamp($timestamp);
  function getTimestamp();

  //-----------------------------------
  function getLangcode();
  function getCalendarName();
  function listOptions($name, $required);

  //-----------------------------------
  function copy();
  function validate(array $arr);

}

Interfaces

Namesort descending Description
DatexInterface