You are here

class Usage in Currency 7.2

Describes a currency's usage in a country.

Hierarchy

  • class \BartFeenstra\Currency\Usage

Expanded class hierarchy of Usage

1 file declares its use of Usage
CurrencyTest.php in currency/vendor/bartfeenstra/currency/src/BartFeenstra/Tests/Currency/CurrencyTest.php
Contains class \BartFeenstra\Tests\Currency\CurrencyTest.

File

currency/vendor/bartfeenstra/currency/src/BartFeenstra/Currency/Usage.php, line 13
Contains class \BartFeenstra\Currency\Currency.

Namespace

BartFeenstra\Currency
View source
class Usage {

  /**
   * The ISO 8601 datetime of the moment this usage started.
   *
   * @var string
   */
  public $ISO8601From = NULL;

  /**
   * The ISO 8601 datetime of the moment this usage ended.
   *
   * @var string
   */
  public $ISO8601To = NULL;

  /**
   * An ISO 3166-1 alpha-1 country code.
   *
   * @todo With minimal effort we can also support ISO 3166-3 codes.
   *
   * @var string
   */
  public $ISO3166Code = NULL;

}

Members

Namesort descending Modifiers Type Description Overrides
Usage::$ISO3166Code public property An ISO 3166-1 alpha-1 country code.
Usage::$ISO8601From public property The ISO 8601 datetime of the moment this usage started.
Usage::$ISO8601To public property The ISO 8601 datetime of the moment this usage ended.