コード例 #1
0
ファイル: period.c プロジェクト: takluyver/pandas
// calculation works out the same as TtoS, so we just call that function for HtoT
static long_t asfreq_HtoT(long_t fromDate, char relation, asfreq_info *af_info)
    { return asfreq_TtoS(fromDate, relation, &NULL_AF_INFO); }
コード例 #2
0
ファイル: period.c プロジェクト: 17705724576-M13Kd/pandas
// calculation works out the same as TtoS, so we just call that function for HtoT
static npy_int64 asfreq_HtoT(npy_int64 ordinal, char relation, asfreq_info *af_info)
    { return asfreq_TtoS(ordinal, relation, &NULL_AF_INFO); }