Mengembalikan nama hari dalam bahasa indonesia.
@params short=true, tampilkan dalam 3 huruf, JUM, SAB
511313
public static function getLocalDayName($date, $short=true) {
		$dayName = date('N', strtotime($date));
		switch($dayName) {
			case 0:
			    return ($short ? 'Min' : 'Minggu');
			break;

			case 1:
			    return ($short ? 'Sen' : 'Senin');
			break;

			case 2:
			    return ($short ? 'Sel' : 'Selasa');
			break;

			case 3:
			    return ($short ? 'Rab' : 'Rabu');
			break;

			case 4:
			    return ($short ? 'Kam' : 'Kamis');
			break;

			case 5:
			    return ($short ? 'Jum' : 'Jumat');
			break;

			case 6:
			    return ($short ? 'Sab' : 'Sabtu');
			break;
		}
	}
248174
protected short getShort()
  {
    if (tc.isEntryEnabled()) Tr.entry(tc, "getShort",this);

    short data = _buffer.getShort();

    if (tc.isEntryEnabled()) Tr.exit(tc, "getShort", new Short(data));
    return data;
  }
1097458
public static String writeShort(Short value) {
		if (value==null) return null;
		
		return Short.toString(value);			
	}
560441
public static short[] copyOf(short[] shortArray) {

    	short[] copy = new short[shortArray.length];
        System.arraycopy(shortArray, 0, copy, 0, shortArray.length);
        return copy;
    }
532708
function short(nodes, context, recur, wrap) {
    context.write(WRAPPERS[wrap].left);
    context.indentIn();
    context.write('\n');

    for (var i = 0; i < nodes.length; i++) {
        context.write(context.getIndent());
        recur(nodes[i]);

        if (nodes[i + 1]) {
            context.write(',\n');}}



    context.indentOut();
    context.write('\n', context.getIndent(), WRAPPERS[wrap].right);}
1264775
public final void j_short(CONDITION cc, Label label, int hint)
  {
    // Adjust returned condition to jxx_short version.
    _emitJcc(INST_CODE.valueOf(conditionToJCC(cc).ordinal() + INST_J_SHORT.ordinal() - INST_J.ordinal()), label, hint);
  }
501439
public static void putShortBE(final byte[] array, final int offset, final short value) {
    array[offset + 1] = (byte) (value       );
    array[offset    ] = (byte) (value >>>  8);
  }
278035
public static void writeShort(byte b[], int offset, short value) {
    b[offset++] = (byte) (value >>> 8);
    b[offset] = (byte)value;
  }
405220
public Short getShort(String name) {
        Object o = get(name);
        if (o instanceof Number) {
            return ((Number)o).shortValue();
        }

        if (o != null) {
            try {
                String string = o.toString();
                if (string != null) {
                    return Short.parseShort(string);
                }
            }
            catch (NumberFormatException e) {}
        }
        return null;
    }
931848
public void update(short number) {
        byte[] numberInBytes = new byte[ByteUtils.SIZE_OF_SHORT];
        ByteUtils.writeShort(numberInBytes, number, 0);
        update(numberInBytes);
    }
536557
public Short getAsShort(String key) {
        Object value = mValues.get(key);
        try {
            return value != null ? ((Number) value).shortValue() : null;
        } catch (ClassCastException e) {
            if (value instanceof CharSequence) {
                try {
                    return Short.valueOf(value.toString());
                } catch (NumberFormatException e2) {
                    DLog.e(TAG, "Cannot parse Short value for " + value + " at key " + key);
                    return null;
                }
            } else {
                DLog.e(TAG, "Cannot cast value for " + key + " to a Short: " + value, e);
                return null;
            }
        }
    }
359722
@Override
	public short readShort() throws JMSException
    {
    	backupState();
		try
		{
			return MessageConvertTools.asShort(internalReadObject());
		}
    	catch (JMSException e)
    	{
    		restoreState();
    		throw e;	
    	}
    	catch (RuntimeException e)
    	{
    		restoreState();
    		throw e;
    	}
    }
722887
function encodeArray_PRIM_SHORT( encoder, data ) {

	//
	// Short Primitive Array (PRIM_SHORT)
	//
	// ........
	// 01111100
	//

	// Open log group
	encoder.counters.arr_prim_short+=1;
	encoder.log(LOG.ARR, "array.prim.short, len="+data.length+
		", peek="+data[0]+" [");
	encoder.logIndent(1);

	// Encode primitives one after the other
	encoder.stream8.write( pack1b( ARR_OP.PRIM_SHORT ) );
	encoder.stream8.write( pack1b( data.length, false ) );
	encoder.counters.arr_hdr+=2;

	// Encode each primitive individually
	for (var i=0, llen=data.length; i<llen; ++i) {
		encodePrimitive( encoder, data[i] );
	}

	// Close log group
	encoder.logIndent(-1);
	encoder.log(LOG.ARR, "]");

}
591322
public void setAsText(final String text) {
        if (BeanUtils.isNull(text)) {
            setValue(null);
            return;
        }
        try {
            Object newValue = Short.decode(text);
            setValue(newValue);
        } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Failed to parse short.", e);
        }
    }
173373
@Override
    public void setShort(int parameterIndex, short x) throws SQLException
    {
        checkParameterBounds(parameterIndex);
        this.parameters[parameterIndex-1] = x;
    }
1048733
public short read_ushort() throws OtpErlangDecodeException {
        final long l = this.read_long(true);
        final short i = (short) l;

        if (l != (i & 0xffffL)) {
            throw new OtpErlangDecodeException("Value does not fit in ushort: "
                    + l);
        }

        return i;
    }
354039
function short(ms) {
  if (ms >= d) return Math.round(ms / d) + 'd';
  if (ms >= h) return Math.round(ms / h) + 'h';
  if (ms >= m) return Math.round(ms / m) + 'm';
  if (ms >= s) return Math.round(ms / s) + 's';
  return ms + 'ms';
}