Searched refs:amount (Results 1 - 25 of 39) sorted by relevance

12

/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/util/
H A DResourceUtil.java126 final Number amount = operation.getValue().asNumber();
133 elements.set(i, increment(operation, elements.get(i), amount));
137 .getObject(), amount));
160 final Number amount) throws BadRequestException {
162 return ((Long) object) + amount.longValue();
164 return ((Integer) object) + amount.intValue();
166 return ((Float) object) + amount.floatValue();
168 return ((Double) object) + amount.doubleValue();
159 increment(final PatchOperation operation, final Object object, final Number amount) argument
/forgerock/opendj2/src/server/org/opends/server/admin/
H A DSizeUnit.java318 * @param amount
322 public double fromBytes(long amount) { argument
323 return ((double) amount / sz);
364 * @param amount
371 public long toBytes(double amount) throws NumberFormatException { argument
372 double value = sz * amount;
/forgerock/opendj-b2.6/src/server/org/opends/server/admin/
H A DSizeUnit.java319 * @param amount
323 public double fromBytes(long amount) { argument
324 return ((double) amount / sz);
365 * @param amount
372 public long toBytes(double amount) throws NumberFormatException { argument
373 double value = sz * amount;
/forgerock/opendj2.6.2/src/server/org/opends/server/admin/
H A DSizeUnit.java319 * @param amount
323 public double fromBytes(long amount) { argument
324 return ((double) amount / sz);
365 * @param amount
372 public long toBytes(double amount) throws NumberFormatException { argument
373 double value = sz * amount;
/forgerock/opendj2-hg/src/server/org/opends/server/admin/
H A DSizeUnit.java318 * @param amount
322 public double fromBytes(long amount) { argument
323 return ((double) amount / sz);
364 * @param amount
371 public long toBytes(double amount) throws NumberFormatException { argument
372 double value = sz * amount;
/forgerock/opendj2-jel-hg/src/server/org/opends/server/admin/
H A DSizeUnit.java319 * @param amount
323 public double fromBytes(long amount) { argument
324 return ((double) amount / sz);
365 * @param amount
372 public long toBytes(double amount) throws NumberFormatException { argument
373 double value = sz * amount;
/forgerock/opendj-v3/opendj-config/src/main/java/org/forgerock/opendj/config/
H A DSizeUnit.java272 * @param amount
276 public double fromBytes(long amount) { argument
277 return (double) amount / sz;
310 * @param amount
316 public long toBytes(double amount) { argument
317 double value = sz * amount;
/forgerock/openidm-v4/openidm-util/src/main/java/org/forgerock/openidm/patch/
H A DJsonValuePatch.java115 private static Object increment(final Object object, final Number amount, final JsonPointer field) throws BadRequestException { argument
117 return ((Long) object) + amount.longValue();
119 return ((Integer) object) + amount.intValue();
121 return ((Float) object) + amount.floatValue();
123 return ((Double) object) + amount.doubleValue();
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DDebugConfigurationFromProperties.java179 * @param amount number of unit
183 private boolean validateSuffix(int field, int amount) throws IllegalArgumentException { argument
189 cal.add(field, amount);
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/debug/file/impl/
H A DDebugConfigurationFromProperties.java181 * @param amount number of unit
185 private boolean validateSuffix(int field, int amount) throws IllegalArgumentException { argument
191 cal.add(field, amount);
/forgerock/openam-v13/openam-server-only/src/main/webapp/js/Bluff-0.3.6.2/
H A Dbluff-src.js1628 _draw_label: function(center_x, center_y, angle, radius, amount) {
1643 this._d.annotate_scaled(0, 0, x, y, amount, this._scale);
1727 _draw_label: function(center_x, center_y, angle, radius, amount, data_row, i) {
1743 this._d.annotate_scaled(0,0, x,y, amount, this._scale);
1748 amount, i);
1926 _draw_label: function(center_x, center_y, angle, radius, amount) {
1942 amount, this._scale);
/forgerock/openam/openam-server-only/src/main/webapp/js/Bluff-0.3.6.2/
H A Dbluff-src.js1628 _draw_label: function(center_x, center_y, angle, radius, amount) {
1643 this._d.annotate_scaled(0, 0, x, y, amount, this._scale);
1727 _draw_label: function(center_x, center_y, angle, radius, amount, data_row, i) {
1743 this._d.annotate_scaled(0,0, x,y, amount, this._scale);
1748 amount, i);
1926 _draw_label: function(center_x, center_y, angle, radius, amount) {
1942 amount, this._scale);
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/calendar/
H A Dcalendar-debug.js753 * Adds the specified amount of time to the this instance.
757 * @param {Number} amount The number of units (measured in the field constant) to add to the date.
760 add : function(date, field, amount) {
764 var newMonth = date.getMonth() + amount;
784 d.setDate(date.getDate() + amount);
787 d.setFullYear(date.getFullYear() + amount);
790 d.setDate(date.getDate() + (amount * 7));
797 * Subtracts the specified amount of time from the this instance.
801 * @param {Number} amount The number of units (measured in the field constant) to subtract from the date.
804 subtract : function(date, field, amount) {
[all...]
H A Dcalendar-min.js25 return false;};YAHOO.lang.augmentProto(Config,YAHOO.util.EventProvider);}());YAHOO.widget.DateMath={DAY:"D",WEEK:"W",YEAR:"Y",MONTH:"M",ONE_DAY_MS:1000*60*60*24,add:function(date,field,amount){var d=new Date(date.getTime());switch(field){case this.MONTH:var newMonth=date.getMonth()+amount;var years=0;if(newMonth<0){while(newMonth<0){newMonth+=12;years-=1;}}else if(newMonth>11){while(newMonth>11){newMonth-=12;years+=1;}}
26 d.setMonth(newMonth);d.setFullYear(date.getFullYear()+years);break;case this.DAY:d.setDate(date.getDate()+amount);break;case this.YEAR:d.setFullYear(date.getFullYear()+amount);break;case this.WEEK:d.setDate(date.getDate()+(amount*7));break;}
27 return d;},subtract:function(date,field,amount){return this.add(date,field,(amount*-1));},before:function(date,compareTo){var ms=compareTo.getTime();if(date.getTime()<ms){return true;}else{return false;}},after:function(date,compareTo){var ms=compareTo.getTime();if(date.getTime()>ms){return true;}else{return false;}},between:function(date,dateBegin,dateEnd){if(this.after(date,dateBegin)&&this.before(date,dateEnd)){return true;}else{return false;}},getJan1:function(calendarYear){return new Date(calendarYear,0,1);},getDayOffset:function(date,calendarYear){var beginYear=this.getJan1(calendarYear);var dayOffset=Math.ceil((date.getTime()-beginYear.getTime())/this.ONE_DAY_MS);return dayOffset;},getWeekNumber:function(date,calendarYear){date=this.clearTime(date);var nearestThurs=new Date(date.getTime()+(4*this.ONE_DAY_MS)-((date.getDay())*this.ONE_DAY_MS));var jan1=new Date(nearestThurs.getFullYear(),0,1);var dayOfYear=((nearestThurs.getTime()-jan1.getTime())/this.ONE_DAY_MS)-1;var weekNum=Math.ceil((dayOfYear)/7);return weekNum;},isYearOverlapWeek:function(weekBeginDate){var overlaps=false;var nextWeek=this.add(weekBeginDate,this.DAY,6);if(nextWeek.getFullYear()!=weekBeginDate.getFullYear()){overlaps=true;}
H A Dcalendar.js747 * Adds the specified amount of time to the this instance.
751 * @param {Number} amount The number of units (measured in the field constant) to add to the date.
754 add : function(date, field, amount) {
758 var newMonth = date.getMonth() + amount;
778 d.setDate(date.getDate() + amount);
781 d.setFullYear(date.getFullYear() + amount);
784 d.setDate(date.getDate() + (amount * 7));
791 * Subtracts the specified amount of time from the this instance.
795 * @param {Number} amount The number of units (measured in the field constant) to subtract from the date.
798 subtract : function(date, field, amount) {
[all...]
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/calendar/
H A Dcalendar-debug.js753 * Adds the specified amount of time to the this instance.
757 * @param {Number} amount The number of units (measured in the field constant) to add to the date.
760 add : function(date, field, amount) {
764 var newMonth = date.getMonth() + amount;
784 d.setDate(date.getDate() + amount);
787 d.setFullYear(date.getFullYear() + amount);
790 d.setDate(date.getDate() + (amount * 7));
797 * Subtracts the specified amount of time from the this instance.
801 * @param {Number} amount The number of units (measured in the field constant) to subtract from the date.
804 subtract : function(date, field, amount) {
[all...]
H A Dcalendar-min.js25 return false;};YAHOO.lang.augmentProto(Config,YAHOO.util.EventProvider);}());YAHOO.widget.DateMath={DAY:"D",WEEK:"W",YEAR:"Y",MONTH:"M",ONE_DAY_MS:1000*60*60*24,add:function(date,field,amount){var d=new Date(date.getTime());switch(field){case this.MONTH:var newMonth=date.getMonth()+amount;var years=0;if(newMonth<0){while(newMonth<0){newMonth+=12;years-=1;}}else if(newMonth>11){while(newMonth>11){newMonth-=12;years+=1;}}
26 d.setMonth(newMonth);d.setFullYear(date.getFullYear()+years);break;case this.DAY:d.setDate(date.getDate()+amount);break;case this.YEAR:d.setFullYear(date.getFullYear()+amount);break;case this.WEEK:d.setDate(date.getDate()+(amount*7));break;}
27 return d;},subtract:function(date,field,amount){return this.add(date,field,(amount*-1));},before:function(date,compareTo){var ms=compareTo.getTime();if(date.getTime()<ms){return true;}else{return false;}},after:function(date,compareTo){var ms=compareTo.getTime();if(date.getTime()>ms){return true;}else{return false;}},between:function(date,dateBegin,dateEnd){if(this.after(date,dateBegin)&&this.before(date,dateEnd)){return true;}else{return false;}},getJan1:function(calendarYear){return new Date(calendarYear,0,1);},getDayOffset:function(date,calendarYear){var beginYear=this.getJan1(calendarYear);var dayOffset=Math.ceil((date.getTime()-beginYear.getTime())/this.ONE_DAY_MS);return dayOffset;},getWeekNumber:function(date,calendarYear){date=this.clearTime(date);var nearestThurs=new Date(date.getTime()+(4*this.ONE_DAY_MS)-((date.getDay())*this.ONE_DAY_MS));var jan1=new Date(nearestThurs.getFullYear(),0,1);var dayOfYear=((nearestThurs.getTime()-jan1.getTime())/this.ONE_DAY_MS)-1;var weekNum=Math.ceil((dayOfYear)/7);return weekNum;},isYearOverlapWeek:function(weekBeginDate){var overlaps=false;var nextWeek=this.add(weekBeginDate,this.DAY,6);if(nextWeek.getFullYear()!=weekBeginDate.getFullYear()){overlaps=true;}
H A Dcalendar.js747 * Adds the specified amount of time to the this instance.
751 * @param {Number} amount The number of units (measured in the field constant) to add to the date.
754 add : function(date, field, amount) {
758 var newMonth = date.getMonth() + amount;
778 d.setDate(date.getDate() + amount);
781 d.setFullYear(date.getFullYear() + amount);
784 d.setDate(date.getDate() + (amount * 7));
791 * Subtracts the specified amount of time from the this instance.
795 * @param {Number} amount The number of units (measured in the field constant) to subtract from the date.
798 subtract : function(date, field, amount) {
[all...]
/forgerock/openidm-v4/openidm-ui/openidm-ui-common/src/main/resources/css/fontawesome/less/
H A Dicons.less363 .@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
364 .@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
/forgerock/opendj-b2.6/ext/svnkit/
H A Dsequence-library.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt de/ de/regnis/ de/ ...
H A Dsqljet.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt org/ org/tmatesoft/ org/ ...
/forgerock/opendj2/ext/svnkit/lib/
H A Dsequence-library-1.0.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt de/ de/regnis/ de/ ...
H A Dsqljet-1.1.10.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt org/ org/tmatesoft/ org/ ...
/forgerock/opendj2.6.2/ext/svnkit/
H A Dsequence-library.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt de/ de/regnis/ de/ ...
/forgerock/opendj2-hg/ext/svnkit/lib/
H A Dsequence-library-1.0.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt de/ de/regnis/ de/ ...

Completed in 129 milliseconds

12