Lines Matching refs:TimeConsts
17 TimeConsts = GRPC::Core::TimeConsts constant
19 describe TimeConsts do describe
25 expect(TimeConsts.constants.collect.sort).to eq(@known_consts)
30 m = TimeConsts
40 expect { TimeConsts.from_relative_time(Object.new) }.to raise_error
44 m = TimeConsts
47 expect(TimeConsts.from_relative_time(const)).to be(const)
52 expect(TimeConsts.from_relative_time(0)).to eq(TimeConsts::ZERO)
56 expect(TimeConsts.from_relative_time(nil)).to eq(TimeConsts::ZERO)
61 y = TimeConsts.from_relative_time(t)
70 abs = TimeConsts.from_relative_time(t)