Пример #1
0
 private ProtoMessage.DayTime newDayTime_2016_12_20_8_41_42() {
   return ProtoMessage.DayTime.newBuilder()
       .setValue(
           ProtoMessage.DayTime.Value.newBuilder()
               .setDay(
                   ProtoMessage.Day.Value.newBuilder()
                       .setYear(2016)
                       .setMonth(12)
                       .setDayInMonth(20))
               .setTime(
                   ProtoMessage.Time.Value.newBuilder().setHours(8).setMinutes(41).setSeconds(42)))
       .build();
 }
Пример #2
0
 private ProtoMessage.Time newTime_8_38_42() {
   return ProtoMessage.Time.newBuilder()
       .setValue(ProtoMessage.Time.Value.newBuilder().setHours(8).setMinutes(38).setSeconds(42))
       .build();
 }