Lines Matching refs:nMillis
80 static void debug_cal_millis_to_time( long nMillis, long & h, long & m, long & s, long & f ) in debug_cal_millis_to_time() argument
82 int sign = (nMillis < 0 ? -1 : 1); in debug_cal_millis_to_time()
83 nMillis = ::std::abs(nMillis); in debug_cal_millis_to_time()
84 h = sign * nMillis / (60 * 60 * 1000); in debug_cal_millis_to_time()
85 nMillis -= sign * h * (60 * 60 * 1000); in debug_cal_millis_to_time()
86 m = nMillis / (60 * 1000); in debug_cal_millis_to_time()
87 nMillis -= m * (60 * 1000); in debug_cal_millis_to_time()
88 s = nMillis / (1000); in debug_cal_millis_to_time()
89 nMillis -= s * (1000); in debug_cal_millis_to_time()
90 f = nMillis; in debug_cal_millis_to_time()
95 long nMillis, h, m, s, f; in debug_i18n_cal_dump() local
102 …fprintf( stderr, " zone: %ld", (long)(nMillis = r.get( UCAL_ZONE_OFFSET, status = U_ZERO_ERROR))); in debug_i18n_cal_dump()
103 fprintf( stderr, " (%f min)", (double)nMillis / 60000); in debug_i18n_cal_dump()
104 debug_cal_millis_to_time( nMillis, h, m, s, f); in debug_i18n_cal_dump()
106 … fprintf( stderr, " DST: %ld", (long)(nMillis = r.get( UCAL_DST_OFFSET, status = U_ZERO_ERROR))); in debug_i18n_cal_dump()
107 fprintf( stderr, " (%f min)", (double)nMillis / 60000); in debug_i18n_cal_dump()
108 debug_cal_millis_to_time( nMillis, h, m, s, f); in debug_i18n_cal_dump()
485 sal_uInt16 nMillis = static_cast<sal_uInt16>( abs( nValue - nTrunc * 60000)); in lcl_setCombinedOffsetFieldValues() local
487 static_cast<sal_Int16>( nMillis); in lcl_setCombinedOffsetFieldValues()
723 sal_Int16 nMillis = static_cast<sal_Int16>( static_cast<sal_uInt16>( in getValue() local
726 fieldValue[CalendarFieldIndex::ZONE_OFFSET_SECOND_MILLIS] = nMillis; in getValue()
731 sal_Int16 nMillis = static_cast<sal_Int16>( static_cast<sal_uInt16>( in getValue() local
734 fieldValue[CalendarFieldIndex::DST_OFFSET_SECOND_MILLIS] = nMillis; in getValue()