Home
last modified time | relevance | path

Searched refs:dayOffset (Results 1 – 4 of 4) sorted by relevance

/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java129 int dayOffset = value.indexOf('T'); in parseTimestamp() local
130 if (dayOffset == -1) { in parseTimestamp()
134 int timezoneOffsetPosition = value.indexOf('Z', dayOffset); in parseTimestamp()
136 timezoneOffsetPosition = value.indexOf('+', dayOffset); in parseTimestamp()
139 timezoneOffsetPosition = value.indexOf('-', dayOffset); in parseTimestamp()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c446 int32_t dayOffset, limit; in TestRelativeDateFormat() local
510 for (dayOffset = -2, limit = 2; dayOffset <= limit; ++dayOffset) { in TestRelativeDateFormat()
511 UDate dateToUse = today + (float)dayOffset*dayInterval; in TestRelativeDateFormat()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java3795 for (int dayOffset = -2; dayOffset <= 2; dayOffset++ ) { in TestRelativeDateFormat()
3801 cal.add(Calendar.DATE, dayOffset); in TestRelativeDateFormat()
3806 logln(dayOffset + ", " + dateStyle + ", " + dateTimeStr); in TestRelativeDateFormat()
3807 logln(dayOffset + ", " + dateStyle + ", " + dateStr); in TestRelativeDateFormat()
3808 logln(dayOffset + ", " + dateStyle + ", " + timeStr); in TestRelativeDateFormat()
3813 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()
3819 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()
3826 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java3798 for (int dayOffset = -2; dayOffset <= 2; dayOffset++ ) { in TestRelativeDateFormat()
3804 cal.add(Calendar.DATE, dayOffset); in TestRelativeDateFormat()
3809 logln(dayOffset + ", " + dateStyle + ", " + dateTimeStr); in TestRelativeDateFormat()
3810 logln(dayOffset + ", " + dateStyle + ", " + dateStr); in TestRelativeDateFormat()
3811 logln(dayOffset + ", " + dateStyle + ", " + timeStr); in TestRelativeDateFormat()
3816 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()
3822 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()
3829 dateStyle + " for dayOffset " + dayOffset ); in TestRelativeDateFormat()