Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> perl >> libtest-mocktime-datecalc-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libtest-mocktime-datecalc-perl  ]

パッケージ: libtest-mocktime-datecalc-perl (5+ds-1)

testing utility to fake time for Date::Calc

Test::MockTime::DateCalc arranges for the functions in Date::Calc to follow the Perl level 'time' function, and in particular any fake date/time set there by Test::MockTime. The following Date::Calc functions are changed

 System_Clock
 Today
 Now
 Today_and_Now
 This_Year
 Gmtime
 Localtime
 Timezone
 Time_to_Date

Gmtime, Localtime, Timezone and Time_to_Date are made to default to the Perl-level current time. When called with an explicit time argument they're unchanged.

その他の libtest-mocktime-datecalc-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: libdate-calc-perl
    Perl library for accessing dates
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libtest-mocktime-datecalc-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 9.0 kB92 kB [ファイル一覧]