Esempio n. 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();
 }
Esempio n. 2
0
 private ProtoMessage.Day newDay_2016_3_18() {
   return ProtoMessage.Day.newBuilder()
       .setValue(ProtoMessage.Day.Value.newBuilder().setYear(2016).setMonth(3).setDayInMonth(18))
       .build();
 }